dummy_executor

package
v0.0.121 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DummyExecutorABI = DummyExecutorMetaData.ABI

DummyExecutorABI is the input ABI used to generate the binding from. Deprecated: Use DummyExecutorMetaData.ABI instead.

View Source
var DummyExecutorBin = DummyExecutorMetaData.Bin

DummyExecutorBin is the compiled bytecode used for deploying new contracts. Deprecated: Use DummyExecutorMetaData.Bin instead.

View Source
var DummyExecutorMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"constructor\",\"inputs\":[{\"name\":\"router\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"execute\",\"inputs\":[{\"name\":\"beneficiary\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"router\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"event\",\"name\":\"Executed\",\"inputs\":[{\"name\":\"beneficiary\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"data\",\"type\":\"bytes\",\"indexed\":false,\"internalType\":\"bytes\"}],\"anonymous\":false},{\"type\":\"error\",\"name\":\"CallerIsNotRouter\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidPayload\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ReentrancyGuardReentrantCall\",\"inputs\":[]}]",
	Bin: "0x608060405234801561001057600080fd5b506040516102bc3803806102bc83398101604081905261002f91610059565b6001600081905580546001600160a01b0319166001600160a01b0392909216919091179055610089565b60006020828403121561006b57600080fd5b81516001600160a01b038116811461008257600080fd5b9392505050565b610224806100986000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80631cff79cd1461003b578063f887ea4014610050575b600080fd5b61004e61004936600461012e565b61007f565b005b600154610063906001600160a01b031681565b6040516001600160a01b03909116815260200160405180910390f35b610087610104565b6001546001600160a01b031633146100b257604051630693060f60e01b815260040160405180910390fd5b826001600160a01b03167f0dcf4ffb3b85ab072df6f9ed79b0382ec6c9619a98f36f4538d3b2e87fd3fd1183836040516100ed9291906101bf565b60405180910390a26100ff6001600055565b505050565b60026000540361012757604051633ee5aeb560e01b815260040160405180910390fd5b6002600055565b60008060006040848603121561014357600080fd5b83356001600160a01b038116811461015a57600080fd5b9250602084013567ffffffffffffffff8082111561017757600080fd5b818601915086601f83011261018b57600080fd5b81358181111561019a57600080fd5b8760208285010111156101ac57600080fd5b6020830194508093505050509250925092565b60208152816020820152818360408301376000818301604090810191909152601f909201601f1916010191905056fea2646970667358221220c0e36b32f30e225abfae9b6f4302d6a52342f3a113d5dfa27e48dc9c07c3b4dd64736f6c63430008170033",
}

DummyExecutorMetaData contains all meta data concerning the DummyExecutor contract.

Functions

This section is empty.

Types

type DummyExecutor

type DummyExecutor struct {
	DummyExecutorCaller     // Read-only binding to the contract
	DummyExecutorTransactor // Write-only binding to the contract
	DummyExecutorFilterer   // Log filterer for contract events
}

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

func DeployDummyExecutor

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

DeployDummyExecutor deploys a new Ethereum contract, binding an instance of DummyExecutor to it.

func NewDummyExecutor

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

NewDummyExecutor creates a new instance of DummyExecutor, bound to a specific deployed contract.

type DummyExecutorCaller

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

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

func NewDummyExecutorCaller

func NewDummyExecutorCaller(address common.Address, caller bind.ContractCaller) (*DummyExecutorCaller, error)

NewDummyExecutorCaller creates a new read-only instance of DummyExecutor, bound to a specific deployed contract.

func (*DummyExecutorCaller) Router

func (_DummyExecutor *DummyExecutorCaller) Router(opts *bind.CallOpts) (common.Address, error)

Router is a free data retrieval call binding the contract method 0xf887ea40.

Solidity: function router() view returns(address)

type DummyExecutorCallerRaw

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

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

func (*DummyExecutorCallerRaw) Call

func (_DummyExecutor *DummyExecutorCallerRaw) 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 DummyExecutorCallerSession

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

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

func (*DummyExecutorCallerSession) Router

func (_DummyExecutor *DummyExecutorCallerSession) Router() (common.Address, error)

Router is a free data retrieval call binding the contract method 0xf887ea40.

Solidity: function router() view returns(address)

type DummyExecutorExecuted

type DummyExecutorExecuted struct {
	Beneficiary common.Address
	Data        []byte
	Raw         types.Log // Blockchain specific contextual infos
}

DummyExecutorExecuted represents a Executed event raised by the DummyExecutor contract.

type DummyExecutorExecutedIterator

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

DummyExecutorExecutedIterator is returned from FilterExecuted and is used to iterate over the raw logs and unpacked data for Executed events raised by the DummyExecutor contract.

func (*DummyExecutorExecutedIterator) Close

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

func (*DummyExecutorExecutedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DummyExecutorExecutedIterator) 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 DummyExecutorFilterer

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

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

func NewDummyExecutorFilterer

func NewDummyExecutorFilterer(address common.Address, filterer bind.ContractFilterer) (*DummyExecutorFilterer, error)

NewDummyExecutorFilterer creates a new log filterer instance of DummyExecutor, bound to a specific deployed contract.

func (*DummyExecutorFilterer) FilterExecuted

func (_DummyExecutor *DummyExecutorFilterer) FilterExecuted(opts *bind.FilterOpts, beneficiary []common.Address) (*DummyExecutorExecutedIterator, error)

FilterExecuted is a free log retrieval operation binding the contract event 0x0dcf4ffb3b85ab072df6f9ed79b0382ec6c9619a98f36f4538d3b2e87fd3fd11.

Solidity: event Executed(address indexed beneficiary, bytes data)

func (*DummyExecutorFilterer) ParseExecuted

func (_DummyExecutor *DummyExecutorFilterer) ParseExecuted(log types.Log) (*DummyExecutorExecuted, error)

ParseExecuted is a log parse operation binding the contract event 0x0dcf4ffb3b85ab072df6f9ed79b0382ec6c9619a98f36f4538d3b2e87fd3fd11.

Solidity: event Executed(address indexed beneficiary, bytes data)

func (*DummyExecutorFilterer) WatchExecuted

func (_DummyExecutor *DummyExecutorFilterer) WatchExecuted(opts *bind.WatchOpts, sink chan<- *DummyExecutorExecuted, beneficiary []common.Address) (event.Subscription, error)

WatchExecuted is a free log subscription operation binding the contract event 0x0dcf4ffb3b85ab072df6f9ed79b0382ec6c9619a98f36f4538d3b2e87fd3fd11.

Solidity: event Executed(address indexed beneficiary, bytes data)

type DummyExecutorRaw

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

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

func (*DummyExecutorRaw) Call

func (_DummyExecutor *DummyExecutorRaw) 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 (*DummyExecutorRaw) Transact

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

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

func (*DummyExecutorRaw) Transfer

func (_DummyExecutor *DummyExecutorRaw) 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 DummyExecutorSession

type DummyExecutorSession struct {
	Contract     *DummyExecutor    // 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
}

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

func (*DummyExecutorSession) Execute

func (_DummyExecutor *DummyExecutorSession) Execute(beneficiary common.Address, data []byte) (*types.Transaction, error)

Execute is a paid mutator transaction binding the contract method 0x1cff79cd.

Solidity: function execute(address beneficiary, bytes data) returns()

func (*DummyExecutorSession) Router

func (_DummyExecutor *DummyExecutorSession) Router() (common.Address, error)

Router is a free data retrieval call binding the contract method 0xf887ea40.

Solidity: function router() view returns(address)

type DummyExecutorTransactor

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

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

func NewDummyExecutorTransactor

func NewDummyExecutorTransactor(address common.Address, transactor bind.ContractTransactor) (*DummyExecutorTransactor, error)

NewDummyExecutorTransactor creates a new write-only instance of DummyExecutor, bound to a specific deployed contract.

func (*DummyExecutorTransactor) Execute

func (_DummyExecutor *DummyExecutorTransactor) Execute(opts *bind.TransactOpts, beneficiary common.Address, data []byte) (*types.Transaction, error)

Execute is a paid mutator transaction binding the contract method 0x1cff79cd.

Solidity: function execute(address beneficiary, bytes data) returns()

type DummyExecutorTransactorRaw

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

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

func (*DummyExecutorTransactorRaw) Transact

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

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

func (*DummyExecutorTransactorRaw) Transfer

func (_DummyExecutor *DummyExecutorTransactorRaw) 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 DummyExecutorTransactorSession

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

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

func (*DummyExecutorTransactorSession) Execute

func (_DummyExecutor *DummyExecutorTransactorSession) Execute(beneficiary common.Address, data []byte) (*types.Transaction, error)

Execute is a paid mutator transaction binding the contract method 0x1cff79cd.

Solidity: function execute(address beneficiary, bytes data) returns()

Jump to

Keyboard shortcuts

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