Documentation ¶
Index ¶
- Variables
- type ChainCallLevel2
- type ChainCallLevel2Caller
- type ChainCallLevel2CallerRaw
- type ChainCallLevel2CallerSession
- type ChainCallLevel2Filterer
- type ChainCallLevel2Raw
- func (_ChainCallLevel2 *ChainCallLevel2Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ChainCallLevel2 *ChainCallLevel2Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ChainCallLevel2 *ChainCallLevel2Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ChainCallLevel2Session
- func (_ChainCallLevel2 *ChainCallLevel2Session) CallRevert(level3Addr common.Address, level4Addr common.Address) (*types.Transaction, error)
- func (_ChainCallLevel2 *ChainCallLevel2Session) DelegateCallRevert(level3Addr common.Address, level4Addr common.Address) (*types.Transaction, error)
- func (_ChainCallLevel2 *ChainCallLevel2Session) Exec(level3Addr common.Address, level4Addr common.Address) (*types.Transaction, error)
- func (_ChainCallLevel2 *ChainCallLevel2Session) Get(level3Addr common.Address, level4Addr common.Address) (string, error)
- func (_ChainCallLevel2 *ChainCallLevel2Session) Receive() (*types.Transaction, error)
- func (_ChainCallLevel2 *ChainCallLevel2Session) Transfers(level3Addr common.Address) (*types.Transaction, error)
- type ChainCallLevel2Transactor
- func (_ChainCallLevel2 *ChainCallLevel2Transactor) CallRevert(opts *bind.TransactOpts, level3Addr common.Address, level4Addr common.Address) (*types.Transaction, error)
- func (_ChainCallLevel2 *ChainCallLevel2Transactor) DelegateCallRevert(opts *bind.TransactOpts, level3Addr common.Address, level4Addr common.Address) (*types.Transaction, error)
- func (_ChainCallLevel2 *ChainCallLevel2Transactor) Exec(opts *bind.TransactOpts, level3Addr common.Address, level4Addr common.Address) (*types.Transaction, error)
- func (_ChainCallLevel2 *ChainCallLevel2Transactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ChainCallLevel2 *ChainCallLevel2Transactor) Transfers(opts *bind.TransactOpts, level3Addr common.Address) (*types.Transaction, error)
- type ChainCallLevel2TransactorRaw
- type ChainCallLevel2TransactorSession
- func (_ChainCallLevel2 *ChainCallLevel2TransactorSession) CallRevert(level3Addr common.Address, level4Addr common.Address) (*types.Transaction, error)
- func (_ChainCallLevel2 *ChainCallLevel2TransactorSession) DelegateCallRevert(level3Addr common.Address, level4Addr common.Address) (*types.Transaction, error)
- func (_ChainCallLevel2 *ChainCallLevel2TransactorSession) Exec(level3Addr common.Address, level4Addr common.Address) (*types.Transaction, error)
- func (_ChainCallLevel2 *ChainCallLevel2TransactorSession) Receive() (*types.Transaction, error)
- func (_ChainCallLevel2 *ChainCallLevel2TransactorSession) Transfers(level3Addr common.Address) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var ChainCallLevel2ABI = ChainCallLevel2MetaData.ABI
ChainCallLevel2ABI is the input ABI used to generate the binding from. Deprecated: Use ChainCallLevel2MetaData.ABI instead.
var ChainCallLevel2Bin = ChainCallLevel2MetaData.Bin
ChainCallLevel2Bin is the compiled bytecode used for deploying new contracts. Deprecated: Use ChainCallLevel2MetaData.Bin instead.
var ChainCallLevel2MetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"level3Addr\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"level4Addr\",\"type\":\"address\"}],\"name\":\"callRevert\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"level3Addr\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"level4Addr\",\"type\":\"address\"}],\"name\":\"delegateCallRevert\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"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\"},{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"level3Addr\",\"type\":\"address\"}],\"name\":\"transfers\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
Bin: "0x608060405234801561001057600080fd5b50610939806100206000396000f3fe60806040526004361061004e5760003560e01c8063435242981461005a578063bdff43ee1461006f578063d81e842314610082578063ee2d0115146100b8578063ffb8d165146100cb57600080fd5b3661005557005b600080fd5b61006d610068366004610723565b6100de565b005b61006d61007d36600461075c565b6101e0565b34801561008e57600080fd5b506100a261009d366004610723565b610330565b6040516100af91906107b0565b60405180910390f35b61006d6100c6366004610723565b61054f565b61006d6100d9366004610723565b610654565b6040516001600160a01b0382811660248301526000919084169060440160408051601f198184030181529181526020820180516001600160e01b03166324df79d560e21b1790525161013091906107e3565b600060405180830381855af49150503d806000811461016b576040519150601f19603f3d011682016040523d82523d6000602084013e610170565b606091505b505080915050806101db5760405162461bcd60e51b815260206004820152602a60248201527f6661696c656420746f20706572666f726d2064656c65676174652063616c6c20604482015269746f206c6576656c203360b01b60648201526084015b60405180910390fd5b505050565b6040516001600160a01b038216903480156108fc02916000818181858888f19350505050158015610215573d6000803e3d6000fd5b506040516000906001600160a01b038316903480156108fc029184818181858888f1935050505090508061028b5760405162461bcd60e51b815260206004820152601d60248201527f4661696c656420746f2073656e64204574686572207669612073656e6400000060448201526064016101d2565b6040516001600160a01b038316903490600081818185875af1925050503d80600081146102d4576040519150601f19603f3d011682016040523d82523d6000602084013e6102d9565b606091505b5050809150508061032c5760405162461bcd60e51b815260206004820152601d60248201527f4661696c656420746f2073656e64204574686572207669612063616c6c00000060448201526064016101d2565b5050565b6040516001600160a01b03828116602483015260609160009183919086169060440160408051601f198184030181529181526020820180516001600160e01b03166330af0bbf60e21b1790525161038791906107e3565b600060405180830381855afa9150503d80600081146103c2576040519150601f19603f3d011682016040523d82523d6000602084013e6103c7565b606091505b5090925090508161042b5760405162461bcd60e51b815260206004820152602860248201527f6661696c656420746f20706572666f726d207374617469632063616c6c20746f604482015267206c6576656c203360c01b60648201526084016101d2565b8080602001905181019061043f9190610815565b60408051600481526024810182526020810180516001600160e01b0316631b53398f60e21b17905290519194506001600160a01b0386169161048191906107e3565b600060405180830381855afa9150503d80600081146104bc576040519150601f19603f3d011682016040523d82523d6000602084013e6104c1565b606091505b509092509050816105325760405162461bcd60e51b815260206004820152603560248201527f6661696c656420746f20706572666f726d207374617469632063616c6c20746f604482015274103632bb32b6101a10333937b6903632bb32b6101960591b60648201526084016101d2565b808060200190518101906105469190610815565b95945050505050565b6040516001600160a01b0382811660248301526000919084169060440160408051601f198184030181529181526020820180516001600160e01b03166335db093760e11b179052516105a191906107e3565b6000604051808303816000865af19150503d80600081146105de576040519150601f19603f3d011682016040523d82523d6000602084013e6105e3565b606091505b505080915050806106065760405162461bcd60e51b81526004016101d2906108c2565b6040516001600160a01b03838116602483015284169060440160408051601f198184030181529181526020820180516001600160e01b03166335db093760e11b1790525161013091906107e3565b6040516001600160a01b0382811660248301526000919084169060440160408051601f198184030181529181526020820180516001600160e01b0316636f852eab60e11b179052516106a691906107e3565b6000604051808303816000865af19150503d80600081146106e3576040519150601f19603f3d011682016040523d82523d6000602084013e6106e8565b606091505b505080915050806101db5760405162461bcd60e51b81526004016101d2906108c2565b6001600160a01b038116811461072057600080fd5b50565b6000806040838503121561073657600080fd5b82356107418161070b565b915060208301356107518161070b565b809150509250929050565b60006020828403121561076e57600080fd5b81356107798161070b565b9392505050565b60005b8381101561079b578181015183820152602001610783565b838111156107aa576000848401525b50505050565b60208152600082518060208401526107cf816040850160208701610780565b601f01601f19169190910160400192915050565b600082516107f5818460208701610780565b9190910192915050565b634e487b7160e01b600052604160045260246000fd5b60006020828403121561082757600080fd5b815167ffffffffffffffff8082111561083f57600080fd5b818401915084601f83011261085357600080fd5b815181811115610865576108656107ff565b604051601f8201601f19908116603f0116810190838211818310171561088d5761088d6107ff565b816040528281528760208487010111156108a657600080fd5b6108b7836020830160208801610780565b979650505050505050565b60208082526021908201527f6661696c656420746f20706572666f726d2063616c6c20746f206c6576656c206040820152603360f81b60608201526080019056fea26469706673582212203facfb678d9a685c94097bb3c88144c498810cac75762583662e86688e851cf264736f6c634300080c0033",
}
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) CallRevert ¶
func (_ChainCallLevel2 *ChainCallLevel2Session) CallRevert(level3Addr common.Address, level4Addr common.Address) (*types.Transaction, error)
CallRevert is a paid mutator transaction binding the contract method 0xffb8d165.
Solidity: function callRevert(address level3Addr, address level4Addr) payable returns()
func (*ChainCallLevel2Session) DelegateCallRevert ¶
func (_ChainCallLevel2 *ChainCallLevel2Session) DelegateCallRevert(level3Addr common.Address, level4Addr common.Address) (*types.Transaction, error)
DelegateCallRevert is a paid mutator transaction binding the contract method 0x43524298.
Solidity: function delegateCallRevert(address level3Addr, address level4Addr) payable returns()
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)
func (*ChainCallLevel2Session) Receive ¶
func (_ChainCallLevel2 *ChainCallLevel2Session) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*ChainCallLevel2Session) Transfers ¶
func (_ChainCallLevel2 *ChainCallLevel2Session) Transfers(level3Addr common.Address) (*types.Transaction, error)
Transfers is a paid mutator transaction binding the contract method 0xbdff43ee.
Solidity: function transfers(address level3Addr) payable returns()
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) CallRevert ¶
func (_ChainCallLevel2 *ChainCallLevel2Transactor) CallRevert(opts *bind.TransactOpts, level3Addr common.Address, level4Addr common.Address) (*types.Transaction, error)
CallRevert is a paid mutator transaction binding the contract method 0xffb8d165.
Solidity: function callRevert(address level3Addr, address level4Addr) payable returns()
func (*ChainCallLevel2Transactor) DelegateCallRevert ¶
func (_ChainCallLevel2 *ChainCallLevel2Transactor) DelegateCallRevert(opts *bind.TransactOpts, level3Addr common.Address, level4Addr common.Address) (*types.Transaction, error)
DelegateCallRevert is a paid mutator transaction binding the contract method 0x43524298.
Solidity: function delegateCallRevert(address level3Addr, address level4Addr) payable returns()
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()
func (*ChainCallLevel2Transactor) Receive ¶
func (_ChainCallLevel2 *ChainCallLevel2Transactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*ChainCallLevel2Transactor) Transfers ¶
func (_ChainCallLevel2 *ChainCallLevel2Transactor) Transfers(opts *bind.TransactOpts, level3Addr common.Address) (*types.Transaction, error)
Transfers is a paid mutator transaction binding the contract method 0xbdff43ee.
Solidity: function transfers(address level3Addr) 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) CallRevert ¶
func (_ChainCallLevel2 *ChainCallLevel2TransactorSession) CallRevert(level3Addr common.Address, level4Addr common.Address) (*types.Transaction, error)
CallRevert is a paid mutator transaction binding the contract method 0xffb8d165.
Solidity: function callRevert(address level3Addr, address level4Addr) payable returns()
func (*ChainCallLevel2TransactorSession) DelegateCallRevert ¶
func (_ChainCallLevel2 *ChainCallLevel2TransactorSession) DelegateCallRevert(level3Addr common.Address, level4Addr common.Address) (*types.Transaction, error)
DelegateCallRevert is a paid mutator transaction binding the contract method 0x43524298.
Solidity: function delegateCallRevert(address level3Addr, address level4Addr) payable returns()
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()
func (*ChainCallLevel2TransactorSession) Receive ¶
func (_ChainCallLevel2 *ChainCallLevel2TransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*ChainCallLevel2TransactorSession) Transfers ¶
func (_ChainCallLevel2 *ChainCallLevel2TransactorSession) Transfers(level3Addr common.Address) (*types.Transaction, error)
Transfers is a paid mutator transaction binding the contract method 0xbdff43ee.
Solidity: function transfers(address level3Addr) payable returns()