ChainCallLevel2

package
v0.1.0-RC8 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: AGPL-3.0, AGPL-3.0-or-later Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ChainCallLevel2ABI = ChainCallLevel2MetaData.ABI

ChainCallLevel2ABI is the input ABI used to generate the binding from. Deprecated: Use ChainCallLevel2MetaData.ABI instead.

View Source
var ChainCallLevel2Bin = ChainCallLevel2MetaData.Bin

ChainCallLevel2Bin is the compiled bytecode used for deploying new contracts. Deprecated: Use ChainCallLevel2MetaData.Bin instead.

View Source
var ChainCallLevel2MetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"level3Addr\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"level4Addr\",\"type\":\"address\"}],\"name\":\"exec\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"level3Addr\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"level4Addr\",\"type\":\"address\"}],\"name\":\"get\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"t\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b5061064e806100206000396000f3fe6080604052600436106100295760003560e01c8063d81e84231461002e578063ee2d011514610064575b600080fd5b34801561003a57600080fd5b5061004e6100493660046104a3565b610079565b60405161005b9190610506565b60405180910390f35b6100776100723660046104a3565b61029d565b005b6040516001600160a01b03828116602483015260609160009183919086169060440160408051601f198184030181529181526020820180516001600160e01b03166330af0bbf60e21b179052516100d09190610539565b600060405180830381855afa9150503d806000811461010b576040519150601f19603f3d011682016040523d82523d6000602084013e610110565b606091505b509092509050816101795760405162461bcd60e51b815260206004820152602860248201527f6661696c656420746f20706572666f726d207374617469632063616c6c20746f604482015267206c6576656c203360c01b60648201526084015b60405180910390fd5b8080602001905181019061018d919061056b565b60408051600481526024810182526020810180516001600160e01b0316631b53398f60e21b17905290519194506001600160a01b038616916101cf9190610539565b600060405180830381855afa9150503d806000811461020a576040519150601f19603f3d011682016040523d82523d6000602084013e61020f565b606091505b509092509050816102805760405162461bcd60e51b815260206004820152603560248201527f6661696c656420746f20706572666f726d207374617469632063616c6c20746f604482015274103632bb32b6101a10333937b6903632bb32b6101960591b6064820152608401610170565b80806020019051810190610294919061056b565b95945050505050565b6040516001600160a01b0382811660248301526000919084169060440160408051601f198184030181529181526020820180516001600160e01b03166335db093760e11b179052516102ef9190610539565b6000604051808303816000865af19150503d806000811461032c576040519150601f19603f3d011682016040523d82523d6000602084013e610331565b606091505b5050809150508061038e5760405162461bcd60e51b815260206004820152602160248201527f6661696c656420746f20706572666f726d2063616c6c20746f206c6576656c206044820152603360f81b6064820152608401610170565b6040516001600160a01b03838116602483015284169060440160408051601f198184030181529181526020820180516001600160e01b03166335db093760e11b179052516103dc9190610539565b600060405180830381855af49150503d8060008114610417576040519150601f19603f3d011682016040523d82523d6000602084013e61041c565b606091505b505080915050806104825760405162461bcd60e51b815260206004820152602a60248201527f6661696c656420746f20706572666f726d2064656c65676174652063616c6c20604482015269746f206c6576656c203360b01b6064820152608401610170565b505050565b80356001600160a01b038116811461049e57600080fd5b919050565b600080604083850312156104b657600080fd5b6104bf83610487565b91506104cd60208401610487565b90509250929050565b60005b838110156104f15781810151838201526020016104d9565b83811115610500576000848401525b50505050565b60208152600082518060208401526105258160408501602087016104d6565b601f01601f19169190910160400192915050565b6000825161054b8184602087016104d6565b9190910192915050565b634e487b7160e01b600052604160045260246000fd5b60006020828403121561057d57600080fd5b815167ffffffffffffffff8082111561059557600080fd5b818401915084601f8301126105a957600080fd5b8151818111156105bb576105bb610555565b604051601f8201601f19908116603f011681019083821181831017156105e3576105e3610555565b816040528281528760208487010111156105fc57600080fd5b61060d8360208301602088016104d6565b97965050505050505056fea2646970667358221220bcf0de35efbb5279a8492473f9a7ed3e68ddf1cbd76bc1ae167505bf83c9042664736f6c634300080c0033",
}

ChainCallLevel2MetaData contains all meta data concerning the ChainCallLevel2 contract.

Functions

This section is empty.

Types

type ChainCallLevel2

type ChainCallLevel2 struct {
	ChainCallLevel2Caller     // Read-only binding to the contract
	ChainCallLevel2Transactor // Write-only binding to the contract
	ChainCallLevel2Filterer   // Log filterer for contract events
}

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

func DeployChainCallLevel2

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

DeployChainCallLevel2 deploys a new Ethereum contract, binding an instance of ChainCallLevel2 to it.

func NewChainCallLevel2

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

NewChainCallLevel2 creates a new instance of ChainCallLevel2, bound to a specific deployed contract.

type ChainCallLevel2Caller

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

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

func NewChainCallLevel2Caller

func NewChainCallLevel2Caller(address common.Address, caller bind.ContractCaller) (*ChainCallLevel2Caller, error)

NewChainCallLevel2Caller creates a new read-only instance of ChainCallLevel2, bound to a specific deployed contract.

func (*ChainCallLevel2Caller) Get

func (_ChainCallLevel2 *ChainCallLevel2Caller) Get(opts *bind.CallOpts, level3Addr common.Address, level4Addr common.Address) (string, error)

Get is a free data retrieval call binding the contract method 0xd81e8423.

Solidity: function get(address level3Addr, address level4Addr) view returns(string t)

type ChainCallLevel2CallerRaw

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

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

func (*ChainCallLevel2CallerRaw) Call

func (_ChainCallLevel2 *ChainCallLevel2CallerRaw) 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 ChainCallLevel2CallerSession

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

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

func (*ChainCallLevel2CallerSession) Get

func (_ChainCallLevel2 *ChainCallLevel2CallerSession) Get(level3Addr common.Address, level4Addr common.Address) (string, error)

Get is a free data retrieval call binding the contract method 0xd81e8423.

Solidity: function get(address level3Addr, address level4Addr) view returns(string t)

type ChainCallLevel2Filterer

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

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

func NewChainCallLevel2Filterer

func NewChainCallLevel2Filterer(address common.Address, filterer bind.ContractFilterer) (*ChainCallLevel2Filterer, error)

NewChainCallLevel2Filterer creates a new log filterer instance of ChainCallLevel2, bound to a specific deployed contract.

type ChainCallLevel2Raw

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

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

func (*ChainCallLevel2Raw) Call

func (_ChainCallLevel2 *ChainCallLevel2Raw) 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 (*ChainCallLevel2Raw) Transact

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

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

func (*ChainCallLevel2Raw) Transfer

func (_ChainCallLevel2 *ChainCallLevel2Raw) 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 ChainCallLevel2Session

type ChainCallLevel2Session struct {
	Contract     *ChainCallLevel2  // 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
}

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

func (*ChainCallLevel2Session) Exec

func (_ChainCallLevel2 *ChainCallLevel2Session) Exec(level3Addr common.Address, level4Addr common.Address) (*types.Transaction, error)

Exec is a paid mutator transaction binding the contract method 0xee2d0115.

Solidity: function exec(address level3Addr, address level4Addr) payable returns()

func (*ChainCallLevel2Session) Get

func (_ChainCallLevel2 *ChainCallLevel2Session) Get(level3Addr common.Address, level4Addr common.Address) (string, error)

Get is a free data retrieval call binding the contract method 0xd81e8423.

Solidity: function get(address level3Addr, address level4Addr) view returns(string t)

type ChainCallLevel2Transactor

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

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

func NewChainCallLevel2Transactor

func NewChainCallLevel2Transactor(address common.Address, transactor bind.ContractTransactor) (*ChainCallLevel2Transactor, error)

NewChainCallLevel2Transactor creates a new write-only instance of ChainCallLevel2, bound to a specific deployed contract.

func (*ChainCallLevel2Transactor) Exec

func (_ChainCallLevel2 *ChainCallLevel2Transactor) Exec(opts *bind.TransactOpts, level3Addr common.Address, level4Addr common.Address) (*types.Transaction, error)

Exec is a paid mutator transaction binding the contract method 0xee2d0115.

Solidity: function exec(address level3Addr, address level4Addr) payable returns()

type ChainCallLevel2TransactorRaw

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

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

func (*ChainCallLevel2TransactorRaw) Transact

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

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

func (*ChainCallLevel2TransactorRaw) Transfer

func (_ChainCallLevel2 *ChainCallLevel2TransactorRaw) 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 ChainCallLevel2TransactorSession

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

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

func (*ChainCallLevel2TransactorSession) Exec

func (_ChainCallLevel2 *ChainCallLevel2TransactorSession) Exec(level3Addr common.Address, level4Addr common.Address) (*types.Transaction, error)

Exec is a paid mutator transaction binding the contract method 0xee2d0115.

Solidity: function exec(address level3Addr, address level4Addr) payable returns()

Jump to

Keyboard shortcuts

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