ChainCallLevel1

package
v0.6.6 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 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 ChainCallLevel1ABI = ChainCallLevel1MetaData.ABI

ChainCallLevel1ABI is the input ABI used to generate the binding from. Deprecated: Use ChainCallLevel1MetaData.ABI instead.

View Source
var ChainCallLevel1Bin = ChainCallLevel1MetaData.Bin

ChainCallLevel1Bin is the compiled bytecode used for deploying new contracts. Deprecated: Use ChainCallLevel1MetaData.Bin instead.

View Source
var ChainCallLevel1MetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"level2Addr\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"level3Addr\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"level4Addr\",\"type\":\"address\"}],\"name\":\"callRevert\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"level2Addr\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"level3Addr\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"level4Addr\",\"type\":\"address\"}],\"name\":\"delegateCallRevert\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"level2Addr\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"level3Addr\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"level4Addr\",\"type\":\"address\"}],\"name\":\"delegateTransfer\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"level2Addr\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"level3Addr\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"level4Addr\",\"type\":\"address\"}],\"name\":\"exec\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
	Bin: "0x608060405234801561001057600080fd5b5061073d806100206000396000f3fe6080604052600436106100435760003560e01c80630c0cc7d21461004f5780636949127414610064578063b04b2e2714610077578063c023dcf31461008a57600080fd5b3661004a57005b600080fd5b61006261005d36600461052e565b61009d565b005b61006261007236600461052e565b61016e565b61006261008536600461052e565b610223565b61006261009836600461052e565b61027d565b6040516001600160a01b03838116602483015282811660448301526000919085169060640160408051601f198184030181529181526020820180516001600160e01b0316600162472e9b60e01b0319179052516100fa919061059d565b6000604051808303816000865af19150503d8060008114610137576040519150601f19603f3d011682016040523d82523d6000602084013e61013c565b606091505b505080915050806101685760405162461bcd60e51b815260040161015f906105b9565b60405180910390fd5b50505050565b6040516001600160a01b0383811660248301526000919085169060440160408051601f198184030181529181526020820180516001600160e01b0316635effa1f760e11b179052516101c0919061059d565b600060405180830381855af49150503d80600081146101fb576040519150601f19603f3d011682016040523d82523d6000602084013e610200565b606091505b505080915050806101685760405162461bcd60e51b815260040161015f906105fa565b6040516001600160a01b03838116602483015282811660448301526000919085169060640160408051601f198184030181529181526020820180516001600160e01b031663086a485360e31b179052516101c0919061059d565b6040516001600160a01b03838116602483015282811660448301526000919085169060640160408051601f198184030181529181526020820180516001600160e01b031663ee2d011560e01b179052516102d7919061059d565b6000604051808303816000865af19150503d8060008114610314576040519150601f19603f3d011682016040523d82523d6000602084013e610319565b606091505b5050809150508061033c5760405162461bcd60e51b815260040161015f906105b9565b6040516001600160a01b038481166024830152838116604483015285169060640160408051601f198184030181529181526020820180516001600160e01b031663ee2d011560e01b17905251610392919061059d565b600060405180830381855af49150503d80600081146103cd576040519150601f19603f3d011682016040523d82523d6000602084013e6103d2565b606091505b505080915050806103f55760405162461bcd60e51b815260040161015f906105fa565b6040516001600160a01b03848116602483015283811660448301526060919086169060640160408051601f198184030181529181526020820180516001600160e01b031663d81e842360e01b1790525161044f919061059d565b600060405180830381855afa9150503d806000811461048a576040519150601f19603f3d011682016040523d82523d6000602084013e61048f565b606091505b509092509050816104f35760405162461bcd60e51b815260206004820152602860248201527f6661696c656420746f20706572666f726d207374617469632063616c6c20746f604482015267103632bb32b6101960c11b606482015260840161015f565b606081806020019051810190610509919061065a565b50505050505050565b80356001600160a01b038116811461052957600080fd5b919050565b60008060006060848603121561054357600080fd5b61054c84610512565b925061055a60208501610512565b915061056860408501610512565b90509250925092565b60005b8381101561058c578181015183820152602001610574565b838111156101685750506000910152565b600082516105af818460208701610571565b9190910192915050565b60208082526021908201527f6661696c656420746f20706572666f726d2063616c6c20746f206c6576656c206040820152601960f91b606082015260800190565b6020808252602a908201527f6661696c656420746f20706572666f726d2064656c65676174652063616c6c206040820152693a37903632bb32b6101960b11b606082015260800190565b634e487b7160e01b600052604160045260246000fd5b60006020828403121561066c57600080fd5b815167ffffffffffffffff8082111561068457600080fd5b818401915084601f83011261069857600080fd5b8151818111156106aa576106aa610644565b604051601f8201601f19908116603f011681019083821181831017156106d2576106d2610644565b816040528281528760208487010111156106eb57600080fd5b6106fc836020830160208801610571565b97965050505050505056fea2646970667358221220b59f48fa8573e9cdbbd8c29f3523b5c3f2f9c3c0cb8877d698821da35114e3c864736f6c634300080c0033",
}

ChainCallLevel1MetaData contains all meta data concerning the ChainCallLevel1 contract.

Functions

This section is empty.

Types

type ChainCallLevel1

type ChainCallLevel1 struct {
	ChainCallLevel1Caller     // Read-only binding to the contract
	ChainCallLevel1Transactor // Write-only binding to the contract
	ChainCallLevel1Filterer   // Log filterer for contract events
}

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

func DeployChainCallLevel1

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

DeployChainCallLevel1 deploys a new Ethereum contract, binding an instance of ChainCallLevel1 to it.

func NewChainCallLevel1

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

NewChainCallLevel1 creates a new instance of ChainCallLevel1, bound to a specific deployed contract.

type ChainCallLevel1Caller

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

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

func NewChainCallLevel1Caller

func NewChainCallLevel1Caller(address common.Address, caller bind.ContractCaller) (*ChainCallLevel1Caller, error)

NewChainCallLevel1Caller creates a new read-only instance of ChainCallLevel1, bound to a specific deployed contract.

type ChainCallLevel1CallerRaw

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

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

func (*ChainCallLevel1CallerRaw) Call

func (_ChainCallLevel1 *ChainCallLevel1CallerRaw) 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 ChainCallLevel1CallerSession

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

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

type ChainCallLevel1Filterer

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

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

func NewChainCallLevel1Filterer

func NewChainCallLevel1Filterer(address common.Address, filterer bind.ContractFilterer) (*ChainCallLevel1Filterer, error)

NewChainCallLevel1Filterer creates a new log filterer instance of ChainCallLevel1, bound to a specific deployed contract.

type ChainCallLevel1Raw

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

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

func (*ChainCallLevel1Raw) Call

func (_ChainCallLevel1 *ChainCallLevel1Raw) 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 (*ChainCallLevel1Raw) Transact

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

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

func (*ChainCallLevel1Raw) Transfer

func (_ChainCallLevel1 *ChainCallLevel1Raw) 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 ChainCallLevel1Session

type ChainCallLevel1Session struct {
	Contract     *ChainCallLevel1  // 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
}

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

func (*ChainCallLevel1Session) CallRevert

func (_ChainCallLevel1 *ChainCallLevel1Session) CallRevert(level2Addr common.Address, level3Addr common.Address, level4Addr common.Address) (*types.Transaction, error)

CallRevert is a paid mutator transaction binding the contract method 0x0c0cc7d2.

Solidity: function callRevert(address level2Addr, address level3Addr, address level4Addr) payable returns()

func (*ChainCallLevel1Session) DelegateCallRevert

func (_ChainCallLevel1 *ChainCallLevel1Session) DelegateCallRevert(level2Addr common.Address, level3Addr common.Address, level4Addr common.Address) (*types.Transaction, error)

DelegateCallRevert is a paid mutator transaction binding the contract method 0xb04b2e27.

Solidity: function delegateCallRevert(address level2Addr, address level3Addr, address level4Addr) payable returns()

func (*ChainCallLevel1Session) DelegateTransfer

func (_ChainCallLevel1 *ChainCallLevel1Session) DelegateTransfer(level2Addr common.Address, level3Addr common.Address, level4Addr common.Address) (*types.Transaction, error)

DelegateTransfer is a paid mutator transaction binding the contract method 0x69491274.

Solidity: function delegateTransfer(address level2Addr, address level3Addr, address level4Addr) payable returns()

func (*ChainCallLevel1Session) Exec

func (_ChainCallLevel1 *ChainCallLevel1Session) Exec(level2Addr common.Address, level3Addr common.Address, level4Addr common.Address) (*types.Transaction, error)

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

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

func (*ChainCallLevel1Session) Receive

func (_ChainCallLevel1 *ChainCallLevel1Session) Receive() (*types.Transaction, error)

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

Solidity: receive() payable returns()

type ChainCallLevel1Transactor

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

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

func NewChainCallLevel1Transactor

func NewChainCallLevel1Transactor(address common.Address, transactor bind.ContractTransactor) (*ChainCallLevel1Transactor, error)

NewChainCallLevel1Transactor creates a new write-only instance of ChainCallLevel1, bound to a specific deployed contract.

func (*ChainCallLevel1Transactor) CallRevert

func (_ChainCallLevel1 *ChainCallLevel1Transactor) CallRevert(opts *bind.TransactOpts, level2Addr common.Address, level3Addr common.Address, level4Addr common.Address) (*types.Transaction, error)

CallRevert is a paid mutator transaction binding the contract method 0x0c0cc7d2.

Solidity: function callRevert(address level2Addr, address level3Addr, address level4Addr) payable returns()

func (*ChainCallLevel1Transactor) DelegateCallRevert

func (_ChainCallLevel1 *ChainCallLevel1Transactor) DelegateCallRevert(opts *bind.TransactOpts, level2Addr common.Address, level3Addr common.Address, level4Addr common.Address) (*types.Transaction, error)

DelegateCallRevert is a paid mutator transaction binding the contract method 0xb04b2e27.

Solidity: function delegateCallRevert(address level2Addr, address level3Addr, address level4Addr) payable returns()

func (*ChainCallLevel1Transactor) DelegateTransfer

func (_ChainCallLevel1 *ChainCallLevel1Transactor) DelegateTransfer(opts *bind.TransactOpts, level2Addr common.Address, level3Addr common.Address, level4Addr common.Address) (*types.Transaction, error)

DelegateTransfer is a paid mutator transaction binding the contract method 0x69491274.

Solidity: function delegateTransfer(address level2Addr, address level3Addr, address level4Addr) payable returns()

func (*ChainCallLevel1Transactor) Exec

func (_ChainCallLevel1 *ChainCallLevel1Transactor) Exec(opts *bind.TransactOpts, level2Addr common.Address, level3Addr common.Address, level4Addr common.Address) (*types.Transaction, error)

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

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

func (*ChainCallLevel1Transactor) Receive

func (_ChainCallLevel1 *ChainCallLevel1Transactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: receive() payable returns()

type ChainCallLevel1TransactorRaw

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

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

func (*ChainCallLevel1TransactorRaw) Transact

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

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

func (*ChainCallLevel1TransactorRaw) Transfer

func (_ChainCallLevel1 *ChainCallLevel1TransactorRaw) 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 ChainCallLevel1TransactorSession

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

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

func (*ChainCallLevel1TransactorSession) CallRevert

func (_ChainCallLevel1 *ChainCallLevel1TransactorSession) CallRevert(level2Addr common.Address, level3Addr common.Address, level4Addr common.Address) (*types.Transaction, error)

CallRevert is a paid mutator transaction binding the contract method 0x0c0cc7d2.

Solidity: function callRevert(address level2Addr, address level3Addr, address level4Addr) payable returns()

func (*ChainCallLevel1TransactorSession) DelegateCallRevert

func (_ChainCallLevel1 *ChainCallLevel1TransactorSession) DelegateCallRevert(level2Addr common.Address, level3Addr common.Address, level4Addr common.Address) (*types.Transaction, error)

DelegateCallRevert is a paid mutator transaction binding the contract method 0xb04b2e27.

Solidity: function delegateCallRevert(address level2Addr, address level3Addr, address level4Addr) payable returns()

func (*ChainCallLevel1TransactorSession) DelegateTransfer

func (_ChainCallLevel1 *ChainCallLevel1TransactorSession) DelegateTransfer(level2Addr common.Address, level3Addr common.Address, level4Addr common.Address) (*types.Transaction, error)

DelegateTransfer is a paid mutator transaction binding the contract method 0x69491274.

Solidity: function delegateTransfer(address level2Addr, address level3Addr, address level4Addr) payable returns()

func (*ChainCallLevel1TransactorSession) Exec

func (_ChainCallLevel1 *ChainCallLevel1TransactorSession) Exec(level2Addr common.Address, level3Addr common.Address, level4Addr common.Address) (*types.Transaction, error)

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

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

func (*ChainCallLevel1TransactorSession) Receive

func (_ChainCallLevel1 *ChainCallLevel1TransactorSession) Receive() (*types.Transaction, error)

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

Solidity: receive() payable returns()

Jump to

Keyboard shortcuts

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