Documentation ¶
Index ¶
- Variables
- type SystemContract
- type SystemContractCaller
- func (_SystemContract *SystemContractCaller) FUNGIBLEMODULEADDRESS(opts *bind.CallOpts) (common.Address, error)
- func (_SystemContract *SystemContractCaller) GasCoinZRC20ByChainId(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
- func (_SystemContract *SystemContractCaller) GasPriceByChainId(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- func (_SystemContract *SystemContractCaller) GasZetaPoolByChainId(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
- func (_SystemContract *SystemContractCaller) Uniswapv2FactoryAddress(opts *bind.CallOpts) (common.Address, error)
- func (_SystemContract *SystemContractCaller) Uniswapv2PairFor(opts *bind.CallOpts, factory common.Address, tokenA common.Address, ...) (common.Address, error)
- func (_SystemContract *SystemContractCaller) Uniswapv2Router02Address(opts *bind.CallOpts) (common.Address, error)
- func (_SystemContract *SystemContractCaller) WZetaContractAddress(opts *bind.CallOpts) (common.Address, error)
- func (_SystemContract *SystemContractCaller) ZetaConnectorZEVMAddress(opts *bind.CallOpts) (common.Address, error)
- type SystemContractCallerRaw
- type SystemContractCallerSession
- func (_SystemContract *SystemContractCallerSession) FUNGIBLEMODULEADDRESS() (common.Address, error)
- func (_SystemContract *SystemContractCallerSession) GasCoinZRC20ByChainId(arg0 *big.Int) (common.Address, error)
- func (_SystemContract *SystemContractCallerSession) GasPriceByChainId(arg0 *big.Int) (*big.Int, error)
- func (_SystemContract *SystemContractCallerSession) GasZetaPoolByChainId(arg0 *big.Int) (common.Address, error)
- func (_SystemContract *SystemContractCallerSession) Uniswapv2FactoryAddress() (common.Address, error)
- func (_SystemContract *SystemContractCallerSession) Uniswapv2PairFor(factory common.Address, tokenA common.Address, tokenB common.Address) (common.Address, error)
- func (_SystemContract *SystemContractCallerSession) Uniswapv2Router02Address() (common.Address, error)
- func (_SystemContract *SystemContractCallerSession) WZetaContractAddress() (common.Address, error)
- func (_SystemContract *SystemContractCallerSession) ZetaConnectorZEVMAddress() (common.Address, error)
- type SystemContractErrors
- type SystemContractErrorsCaller
- type SystemContractErrorsCallerRaw
- type SystemContractErrorsCallerSession
- type SystemContractErrorsFilterer
- type SystemContractErrorsRaw
- func (_SystemContractErrors *SystemContractErrorsRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_SystemContractErrors *SystemContractErrorsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SystemContractErrors *SystemContractErrorsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SystemContractErrorsSession
- type SystemContractErrorsTransactor
- type SystemContractErrorsTransactorRaw
- type SystemContractErrorsTransactorSession
- type SystemContractFilterer
- func (_SystemContract *SystemContractFilterer) FilterSetConnectorZEVM(opts *bind.FilterOpts) (*SystemContractSetConnectorZEVMIterator, error)
- func (_SystemContract *SystemContractFilterer) FilterSetGasCoin(opts *bind.FilterOpts) (*SystemContractSetGasCoinIterator, error)
- func (_SystemContract *SystemContractFilterer) FilterSetGasPrice(opts *bind.FilterOpts) (*SystemContractSetGasPriceIterator, error)
- func (_SystemContract *SystemContractFilterer) FilterSetGasZetaPool(opts *bind.FilterOpts) (*SystemContractSetGasZetaPoolIterator, error)
- func (_SystemContract *SystemContractFilterer) FilterSetWZeta(opts *bind.FilterOpts) (*SystemContractSetWZetaIterator, error)
- func (_SystemContract *SystemContractFilterer) FilterSystemContractDeployed(opts *bind.FilterOpts) (*SystemContractSystemContractDeployedIterator, error)
- func (_SystemContract *SystemContractFilterer) ParseSetConnectorZEVM(log types.Log) (*SystemContractSetConnectorZEVM, error)
- func (_SystemContract *SystemContractFilterer) ParseSetGasCoin(log types.Log) (*SystemContractSetGasCoin, error)
- func (_SystemContract *SystemContractFilterer) ParseSetGasPrice(log types.Log) (*SystemContractSetGasPrice, error)
- func (_SystemContract *SystemContractFilterer) ParseSetGasZetaPool(log types.Log) (*SystemContractSetGasZetaPool, error)
- func (_SystemContract *SystemContractFilterer) ParseSetWZeta(log types.Log) (*SystemContractSetWZeta, error)
- func (_SystemContract *SystemContractFilterer) ParseSystemContractDeployed(log types.Log) (*SystemContractSystemContractDeployed, error)
- func (_SystemContract *SystemContractFilterer) WatchSetConnectorZEVM(opts *bind.WatchOpts, sink chan<- *SystemContractSetConnectorZEVM) (event.Subscription, error)
- func (_SystemContract *SystemContractFilterer) WatchSetGasCoin(opts *bind.WatchOpts, sink chan<- *SystemContractSetGasCoin) (event.Subscription, error)
- func (_SystemContract *SystemContractFilterer) WatchSetGasPrice(opts *bind.WatchOpts, sink chan<- *SystemContractSetGasPrice) (event.Subscription, error)
- func (_SystemContract *SystemContractFilterer) WatchSetGasZetaPool(opts *bind.WatchOpts, sink chan<- *SystemContractSetGasZetaPool) (event.Subscription, error)
- func (_SystemContract *SystemContractFilterer) WatchSetWZeta(opts *bind.WatchOpts, sink chan<- *SystemContractSetWZeta) (event.Subscription, error)
- func (_SystemContract *SystemContractFilterer) WatchSystemContractDeployed(opts *bind.WatchOpts, sink chan<- *SystemContractSystemContractDeployed) (event.Subscription, error)
- type SystemContractRaw
- func (_SystemContract *SystemContractRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_SystemContract *SystemContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SystemContract *SystemContractRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SystemContractSession
- func (_SystemContract *SystemContractSession) DepositAndCall(context ZContext, zrc20 common.Address, amount *big.Int, target common.Address, ...) (*types.Transaction, error)
- func (_SystemContract *SystemContractSession) FUNGIBLEMODULEADDRESS() (common.Address, error)
- func (_SystemContract *SystemContractSession) GasCoinZRC20ByChainId(arg0 *big.Int) (common.Address, error)
- func (_SystemContract *SystemContractSession) GasPriceByChainId(arg0 *big.Int) (*big.Int, error)
- func (_SystemContract *SystemContractSession) GasZetaPoolByChainId(arg0 *big.Int) (common.Address, error)
- func (_SystemContract *SystemContractSession) SetConnectorZEVMAddress(addr common.Address) (*types.Transaction, error)
- func (_SystemContract *SystemContractSession) SetGasCoinZRC20(chainID *big.Int, zrc20 common.Address) (*types.Transaction, error)
- func (_SystemContract *SystemContractSession) SetGasPrice(chainID *big.Int, price *big.Int) (*types.Transaction, error)
- func (_SystemContract *SystemContractSession) SetGasZetaPool(chainID *big.Int, erc20 common.Address) (*types.Transaction, error)
- func (_SystemContract *SystemContractSession) SetWZETAContractAddress(addr common.Address) (*types.Transaction, error)
- func (_SystemContract *SystemContractSession) Uniswapv2FactoryAddress() (common.Address, error)
- func (_SystemContract *SystemContractSession) Uniswapv2PairFor(factory common.Address, tokenA common.Address, tokenB common.Address) (common.Address, error)
- func (_SystemContract *SystemContractSession) Uniswapv2Router02Address() (common.Address, error)
- func (_SystemContract *SystemContractSession) WZetaContractAddress() (common.Address, error)
- func (_SystemContract *SystemContractSession) ZetaConnectorZEVMAddress() (common.Address, error)
- type SystemContractSetConnectorZEVM
- type SystemContractSetConnectorZEVMIterator
- type SystemContractSetGasCoin
- type SystemContractSetGasCoinIterator
- type SystemContractSetGasPrice
- type SystemContractSetGasPriceIterator
- type SystemContractSetGasZetaPool
- type SystemContractSetGasZetaPoolIterator
- type SystemContractSetWZeta
- type SystemContractSetWZetaIterator
- type SystemContractSystemContractDeployed
- type SystemContractSystemContractDeployedIterator
- type SystemContractTransactor
- func (_SystemContract *SystemContractTransactor) DepositAndCall(opts *bind.TransactOpts, context ZContext, zrc20 common.Address, ...) (*types.Transaction, error)
- func (_SystemContract *SystemContractTransactor) SetConnectorZEVMAddress(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)
- func (_SystemContract *SystemContractTransactor) SetGasCoinZRC20(opts *bind.TransactOpts, chainID *big.Int, zrc20 common.Address) (*types.Transaction, error)
- func (_SystemContract *SystemContractTransactor) SetGasPrice(opts *bind.TransactOpts, chainID *big.Int, price *big.Int) (*types.Transaction, error)
- func (_SystemContract *SystemContractTransactor) SetGasZetaPool(opts *bind.TransactOpts, chainID *big.Int, erc20 common.Address) (*types.Transaction, error)
- func (_SystemContract *SystemContractTransactor) SetWZETAContractAddress(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)
- type SystemContractTransactorRaw
- type SystemContractTransactorSession
- func (_SystemContract *SystemContractTransactorSession) DepositAndCall(context ZContext, zrc20 common.Address, amount *big.Int, target common.Address, ...) (*types.Transaction, error)
- func (_SystemContract *SystemContractTransactorSession) SetConnectorZEVMAddress(addr common.Address) (*types.Transaction, error)
- func (_SystemContract *SystemContractTransactorSession) SetGasCoinZRC20(chainID *big.Int, zrc20 common.Address) (*types.Transaction, error)
- func (_SystemContract *SystemContractTransactorSession) SetGasPrice(chainID *big.Int, price *big.Int) (*types.Transaction, error)
- func (_SystemContract *SystemContractTransactorSession) SetGasZetaPool(chainID *big.Int, erc20 common.Address) (*types.Transaction, error)
- func (_SystemContract *SystemContractTransactorSession) SetWZETAContractAddress(addr common.Address) (*types.Transaction, error)
- type ZContext
Constants ¶
This section is empty.
Variables ¶
var SystemContractABI = SystemContractMetaData.ABI
SystemContractABI is the input ABI used to generate the binding from. Deprecated: Use SystemContractMetaData.ABI instead.
var SystemContractBin = SystemContractMetaData.Bin
SystemContractBin is the compiled bytecode used for deploying new contracts. Deprecated: Use SystemContractMetaData.Bin instead.
var SystemContractErrorsABI = SystemContractErrorsMetaData.ABI
SystemContractErrorsABI is the input ABI used to generate the binding from. Deprecated: Use SystemContractErrorsMetaData.ABI instead.
var SystemContractErrorsMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"name\":\"CallerIsNotFungibleModule\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CantBeIdenticalAddresses\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CantBeZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidTarget\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZeroAddress\",\"type\":\"error\"}]",
}
SystemContractErrorsMetaData contains all meta data concerning the SystemContractErrors contract.
var SystemContractMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"wzeta_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"uniswapv2Factory_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"uniswapv2Router02_\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"CallerIsNotFungibleModule\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CantBeIdenticalAddresses\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CantBeZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidTarget\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZeroAddress\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"SetConnectorZEVM\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"SetGasCoin\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"SetGasPrice\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"SetGasZetaPool\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"SetWZeta\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"SystemContractDeployed\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"FUNGIBLE_MODULE_ADDRESS\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"origin\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"chainID\",\"type\":\"uint256\"}],\"internalType\":\"structzContext\",\"name\":\"context\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"zrc20\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"}],\"name\":\"depositAndCall\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"gasCoinZRC20ByChainId\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"gasPriceByChainId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"gasZetaPoolByChainId\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"setConnectorZEVMAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"chainID\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"zrc20\",\"type\":\"address\"}],\"name\":\"setGasCoinZRC20\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"chainID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"}],\"name\":\"setGasPrice\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"chainID\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"erc20\",\"type\":\"address\"}],\"name\":\"setGasZetaPool\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"setWZETAContractAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"uniswapv2FactoryAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"factory\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenA\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenB\",\"type\":\"address\"}],\"name\":\"uniswapv2PairFor\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"pair\",\"type\":\"address\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"uniswapv2Router02Address\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"wZetaContractAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"zetaConnectorZEVMAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
Bin: "0x60c06040523480156200001157600080fd5b50604051620018aa380380620018aa8339818101604052810190620000379190620001ac565b73735b14bb79463307aacbed86daf3322b1e6226ab73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614620000b1576040517f2b2add3d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b815250508073ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b815250507f80699e81136d69cb8367ad52a994e25c722a86da654b561d0c14b61a777e7ac560405160405180910390a15050506200025b565b600081519050620001a68162000241565b92915050565b600080600060608486031215620001c857620001c76200023c565b5b6000620001d88682870162000195565b9350506020620001eb8682870162000195565b9250506040620001fe8682870162000195565b9150509250925092565b600062000215826200021c565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600080fd5b6200024c8162000208565b81146200025857600080fd5b50565b60805160601c60a05160601c61161c6200028e600039600061051b0152600081816105bd0152610bc5015261161c6000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c806397770dff11610097578063c63585cc11610066578063c63585cc1461025e578063d7fd7afb1461028e578063d936a012146102be578063ee2815ba146102dc576100f5565b806397770dff146101ec578063a7cb050714610208578063c39aca3714610224578063c62178ac14610240576100f5565b8063513a9c05116100d3578063513a9c0514610164578063569541b914610194578063842da36d146101b257806391dd645f146101d0576100f5565b80630be15547146100fa5780631f0e251b1461012a5780633ce4a5bc14610146575b600080fd5b610114600480360381019061010f9190611022565b6102f8565b60405161012191906112b1565b60405180910390f35b610144600480360381019061013f9190610ebf565b61032b565b005b61014e6104a8565b60405161015b91906112b1565b60405180910390f35b61017e60048036038101906101799190611022565b6104c0565b60405161018b91906112b1565b60405180910390f35b61019c6104f3565b6040516101a991906112b1565b60405180910390f35b6101ba610519565b6040516101c791906112b1565b60405180910390f35b6101ea60048036038101906101e5919061104f565b61053d565b005b61020660048036038101906102019190610ebf565b610697565b005b610222600480360381019061021d919061108f565b610814565b005b61023e60048036038101906102399190610f6c565b6108e1565b005b610248610b13565b60405161025591906112b1565b60405180910390f35b61027860048036038101906102739190610eec565b610b39565b60405161028591906112b1565b60405180910390f35b6102a860048036038101906102a39190611022565b610bab565b6040516102b5919061134a565b60405180910390f35b6102c6610bc3565b6040516102d391906112b1565b60405180910390f35b6102f660048036038101906102f1919061104f565b610be7565b005b60016020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b73735b14bb79463307aacbed86daf3322b1e6226ab73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146103a4576040517f2b2add3d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561040b576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f3ade88e3922d64780e1bf4460d364c2970b69da813f9c0c07a1c187b5647636c600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660405161049d91906112b1565b60405180910390a150565b73735b14bb79463307aacbed86daf3322b1e6226ab81565b60026020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7f000000000000000000000000000000000000000000000000000000000000000081565b73735b14bb79463307aacbed86daf3322b1e6226ab73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146105b6576040517f2b2add3d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006106057f0000000000000000000000000000000000000000000000000000000000000000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684610b39565b9050806002600085815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f0ecec485166da6139b13bb7e033e9446e2d35348e80ebf1180d4afe2dba1704e838260405161068a929190611365565b60405180910390a1505050565b73735b14bb79463307aacbed86daf3322b1e6226ab73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610710576040517f2b2add3d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610777576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fdba79d534382d1a8ae108e4c8ecb27c6ae42ab8b91d44eedf88bd329f3868d5e600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660405161080991906112b1565b60405180910390a150565b73735b14bb79463307aacbed86daf3322b1e6226ab73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461088d576040517f2b2add3d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600080848152602001908152602001600020819055507f49f492222906ac486c3c1401fa545626df1f0c0e5a77a05597ea2ed66af9850d82826040516108d592919061138e565b60405180910390a15050565b73735b14bb79463307aacbed86daf3322b1e6226ab73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461095a576040517f2b2add3d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73735b14bb79463307aacbed86daf3322b1e6226ab73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806109d357503073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16145b15610a0a576040517f82d5d76a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff166347e7ef2484866040518363ffffffff1660e01b8152600401610a459291906112cc565b602060405180830381600087803b158015610a5f57600080fd5b505af1158015610a73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a979190610f3f565b508273ffffffffffffffffffffffffffffffffffffffff1663de43156e87878786866040518663ffffffff1660e01b8152600401610ad99594939291906112f5565b600060405180830381600087803b158015610af357600080fd5b505af1158015610b07573d6000803e3d6000fd5b50505050505050505050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806000610b488585610cef565b91509150858282604051602001610b60929190611243565b60405160208183030381529060405280519060200120604051602001610b8792919061126f565b6040516020818303038152906040528051906020012060001c925050509392505050565b60006020528060005260406000206000915090505481565b7f000000000000000000000000000000000000000000000000000000000000000081565b73735b14bb79463307aacbed86daf3322b1e6226ab73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610c60576040517f2b2add3d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806001600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fd1b36d30f6248e97c473b4d1348ca164a4ef6759022f54a58ec200326c39c45d8282604051610ce3929190611365565b60405180910390a15050565b6000808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415610d58576040517fcb1e7cfe00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1610610d92578284610d95565b83835b8092508193505050600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e04576040517f78b507da00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b9250929050565b600081359050610e1a816115a1565b92915050565b600081519050610e2f816115b8565b92915050565b60008083601f840112610e4b57610e4a61150e565b5b8235905067ffffffffffffffff811115610e6857610e67611509565b5b602083019150836001820283011115610e8457610e8361151d565b5b9250929050565b600060608284031215610ea157610ea0611513565b5b81905092915050565b600081359050610eb9816115cf565b92915050565b600060208284031215610ed557610ed461152c565b5b6000610ee384828501610e0b565b91505092915050565b600080600060608486031215610f0557610f0461152c565b5b6000610f1386828701610e0b565b9350506020610f2486828701610e0b565b9250506040610f3586828701610e0b565b9150509250925092565b600060208284031215610f5557610f5461152c565b5b6000610f6384828501610e20565b91505092915050565b60008060008060008060a08789031215610f8957610f8861152c565b5b600087013567ffffffffffffffff811115610fa757610fa6611522565b5b610fb389828a01610e8b565b9650506020610fc489828a01610e0b565b9550506040610fd589828a01610eaa565b9450506060610fe689828a01610e0b565b935050608087013567ffffffffffffffff81111561100757611006611522565b5b61101389828a01610e35565b92509250509295509295509295565b6000602082840312156110385761103761152c565b5b600061104684828501610eaa565b91505092915050565b600080604083850312156110665761106561152c565b5b600061107485828601610eaa565b925050602061108585828601610e0b565b9150509250929050565b600080604083850312156110a6576110a561152c565b5b60006110b485828601610eaa565b92505060206110c585828601610eaa565b9150509250929050565b6110d881611475565b82525050565b6110e781611475565b82525050565b6110fe6110f982611475565b6114d6565b82525050565b61111561111082611493565b6114e8565b82525050565b600061112783856113b7565b93506111348385846114c7565b61113d83611531565b840190509392505050565b600061115483856113c8565b93506111618385846114c7565b61116a83611531565b840190509392505050565b60006111826020836113d9565b915061118d8261154f565b602082019050919050565b60006111a56001836113d9565b91506111b082611578565b600182019050919050565b6000606083016111ce60008401846113fb565b85830360008701526111e183828461111b565b925050506111f260208401846113e4565b6111ff60208601826110cf565b5061120d604084018461145e565b61121a6040860182611225565b508091505092915050565b61122e816114bd565b82525050565b61123d816114bd565b82525050565b600061124f82856110ed565b60148201915061125f82846110ed565b6014820191508190509392505050565b600061127a82611198565b915061128682856110ed565b6014820191506112968284611104565b6020820191506112a582611175565b91508190509392505050565b60006020820190506112c660008301846110de565b92915050565b60006040820190506112e160008301856110de565b6112ee6020830184611234565b9392505050565b6000608082019050818103600083015261130f81886111bb565b905061131e60208301876110de565b61132b6040830186611234565b818103606083015261133e818486611148565b90509695505050505050565b600060208201905061135f6000830184611234565b92915050565b600060408201905061137a6000830185611234565b61138760208301846110de565b9392505050565b60006040820190506113a36000830185611234565b6113b06020830184611234565b9392505050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006113f36020840184610e0b565b905092915050565b6000808335600160200384360303811261141857611417611527565b5b83810192508235915060208301925067ffffffffffffffff8211156114405761143f611504565b5b60018202360384131561145657611455611518565b5b509250929050565b600061146d6020840184610eaa565b905092915050565b60006114808261149d565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60006114e1826114f2565b9050919050565b6000819050919050565b60006114fd82611542565b9050919050565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f600082015250565b7fff00000000000000000000000000000000000000000000000000000000000000600082015250565b6115aa81611475565b81146115b557600080fd5b50565b6115c181611487565b81146115cc57600080fd5b50565b6115d8816114bd565b81146115e357600080fd5b5056fea264697066735822122074cb176058c64c566236e929fb1b59095f40ee7409bf1ff681139ad933115af464736f6c63430008070033",
}
SystemContractMetaData contains all meta data concerning the SystemContract contract.
Functions ¶
This section is empty.
Types ¶
type SystemContract ¶
type SystemContract struct { SystemContractCaller // Read-only binding to the contract SystemContractTransactor // Write-only binding to the contract SystemContractFilterer // Log filterer for contract events }
SystemContract is an auto generated Go binding around an Ethereum contract.
func DeploySystemContract ¶
func DeploySystemContract(auth *bind.TransactOpts, backend bind.ContractBackend, wzeta_ common.Address, uniswapv2Factory_ common.Address, uniswapv2Router02_ common.Address) (common.Address, *types.Transaction, *SystemContract, error)
DeploySystemContract deploys a new Ethereum contract, binding an instance of SystemContract to it.
func NewSystemContract ¶
func NewSystemContract(address common.Address, backend bind.ContractBackend) (*SystemContract, error)
NewSystemContract creates a new instance of SystemContract, bound to a specific deployed contract.
type SystemContractCaller ¶
type SystemContractCaller struct {
// contains filtered or unexported fields
}
SystemContractCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSystemContractCaller ¶
func NewSystemContractCaller(address common.Address, caller bind.ContractCaller) (*SystemContractCaller, error)
NewSystemContractCaller creates a new read-only instance of SystemContract, bound to a specific deployed contract.
func (*SystemContractCaller) FUNGIBLEMODULEADDRESS ¶
func (_SystemContract *SystemContractCaller) FUNGIBLEMODULEADDRESS(opts *bind.CallOpts) (common.Address, error)
FUNGIBLEMODULEADDRESS is a free data retrieval call binding the contract method 0x3ce4a5bc.
Solidity: function FUNGIBLE_MODULE_ADDRESS() view returns(address)
func (*SystemContractCaller) GasCoinZRC20ByChainId ¶
func (_SystemContract *SystemContractCaller) GasCoinZRC20ByChainId(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
GasCoinZRC20ByChainId is a free data retrieval call binding the contract method 0x0be15547.
Solidity: function gasCoinZRC20ByChainId(uint256 ) view returns(address)
func (*SystemContractCaller) GasPriceByChainId ¶
func (_SystemContract *SystemContractCaller) GasPriceByChainId(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
GasPriceByChainId is a free data retrieval call binding the contract method 0xd7fd7afb.
Solidity: function gasPriceByChainId(uint256 ) view returns(uint256)
func (*SystemContractCaller) GasZetaPoolByChainId ¶
func (_SystemContract *SystemContractCaller) GasZetaPoolByChainId(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
GasZetaPoolByChainId is a free data retrieval call binding the contract method 0x513a9c05.
Solidity: function gasZetaPoolByChainId(uint256 ) view returns(address)
func (*SystemContractCaller) Uniswapv2FactoryAddress ¶
func (_SystemContract *SystemContractCaller) Uniswapv2FactoryAddress(opts *bind.CallOpts) (common.Address, error)
Uniswapv2FactoryAddress is a free data retrieval call binding the contract method 0xd936a012.
Solidity: function uniswapv2FactoryAddress() view returns(address)
func (*SystemContractCaller) Uniswapv2PairFor ¶
func (_SystemContract *SystemContractCaller) Uniswapv2PairFor(opts *bind.CallOpts, factory common.Address, tokenA common.Address, tokenB common.Address) (common.Address, error)
Uniswapv2PairFor is a free data retrieval call binding the contract method 0xc63585cc.
Solidity: function uniswapv2PairFor(address factory, address tokenA, address tokenB) pure returns(address pair)
func (*SystemContractCaller) Uniswapv2Router02Address ¶
func (_SystemContract *SystemContractCaller) Uniswapv2Router02Address(opts *bind.CallOpts) (common.Address, error)
Uniswapv2Router02Address is a free data retrieval call binding the contract method 0x842da36d.
Solidity: function uniswapv2Router02Address() view returns(address)
func (*SystemContractCaller) WZetaContractAddress ¶
func (_SystemContract *SystemContractCaller) WZetaContractAddress(opts *bind.CallOpts) (common.Address, error)
WZetaContractAddress is a free data retrieval call binding the contract method 0x569541b9.
Solidity: function wZetaContractAddress() view returns(address)
func (*SystemContractCaller) ZetaConnectorZEVMAddress ¶
func (_SystemContract *SystemContractCaller) ZetaConnectorZEVMAddress(opts *bind.CallOpts) (common.Address, error)
ZetaConnectorZEVMAddress is a free data retrieval call binding the contract method 0xc62178ac.
Solidity: function zetaConnectorZEVMAddress() view returns(address)
type SystemContractCallerRaw ¶
type SystemContractCallerRaw struct {
Contract *SystemContractCaller // Generic read-only contract binding to access the raw methods on
}
SystemContractCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SystemContractCallerRaw) Call ¶
func (_SystemContract *SystemContractCallerRaw) 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 SystemContractCallerSession ¶
type SystemContractCallerSession struct { Contract *SystemContractCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SystemContractCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*SystemContractCallerSession) FUNGIBLEMODULEADDRESS ¶
func (_SystemContract *SystemContractCallerSession) FUNGIBLEMODULEADDRESS() (common.Address, error)
FUNGIBLEMODULEADDRESS is a free data retrieval call binding the contract method 0x3ce4a5bc.
Solidity: function FUNGIBLE_MODULE_ADDRESS() view returns(address)
func (*SystemContractCallerSession) GasCoinZRC20ByChainId ¶
func (_SystemContract *SystemContractCallerSession) GasCoinZRC20ByChainId(arg0 *big.Int) (common.Address, error)
GasCoinZRC20ByChainId is a free data retrieval call binding the contract method 0x0be15547.
Solidity: function gasCoinZRC20ByChainId(uint256 ) view returns(address)
func (*SystemContractCallerSession) GasPriceByChainId ¶
func (_SystemContract *SystemContractCallerSession) GasPriceByChainId(arg0 *big.Int) (*big.Int, error)
GasPriceByChainId is a free data retrieval call binding the contract method 0xd7fd7afb.
Solidity: function gasPriceByChainId(uint256 ) view returns(uint256)
func (*SystemContractCallerSession) GasZetaPoolByChainId ¶
func (_SystemContract *SystemContractCallerSession) GasZetaPoolByChainId(arg0 *big.Int) (common.Address, error)
GasZetaPoolByChainId is a free data retrieval call binding the contract method 0x513a9c05.
Solidity: function gasZetaPoolByChainId(uint256 ) view returns(address)
func (*SystemContractCallerSession) Uniswapv2FactoryAddress ¶
func (_SystemContract *SystemContractCallerSession) Uniswapv2FactoryAddress() (common.Address, error)
Uniswapv2FactoryAddress is a free data retrieval call binding the contract method 0xd936a012.
Solidity: function uniswapv2FactoryAddress() view returns(address)
func (*SystemContractCallerSession) Uniswapv2PairFor ¶
func (_SystemContract *SystemContractCallerSession) Uniswapv2PairFor(factory common.Address, tokenA common.Address, tokenB common.Address) (common.Address, error)
Uniswapv2PairFor is a free data retrieval call binding the contract method 0xc63585cc.
Solidity: function uniswapv2PairFor(address factory, address tokenA, address tokenB) pure returns(address pair)
func (*SystemContractCallerSession) Uniswapv2Router02Address ¶
func (_SystemContract *SystemContractCallerSession) Uniswapv2Router02Address() (common.Address, error)
Uniswapv2Router02Address is a free data retrieval call binding the contract method 0x842da36d.
Solidity: function uniswapv2Router02Address() view returns(address)
func (*SystemContractCallerSession) WZetaContractAddress ¶
func (_SystemContract *SystemContractCallerSession) WZetaContractAddress() (common.Address, error)
WZetaContractAddress is a free data retrieval call binding the contract method 0x569541b9.
Solidity: function wZetaContractAddress() view returns(address)
func (*SystemContractCallerSession) ZetaConnectorZEVMAddress ¶
func (_SystemContract *SystemContractCallerSession) ZetaConnectorZEVMAddress() (common.Address, error)
ZetaConnectorZEVMAddress is a free data retrieval call binding the contract method 0xc62178ac.
Solidity: function zetaConnectorZEVMAddress() view returns(address)
type SystemContractErrors ¶
type SystemContractErrors struct { SystemContractErrorsCaller // Read-only binding to the contract SystemContractErrorsTransactor // Write-only binding to the contract SystemContractErrorsFilterer // Log filterer for contract events }
SystemContractErrors is an auto generated Go binding around an Ethereum contract.
func NewSystemContractErrors ¶
func NewSystemContractErrors(address common.Address, backend bind.ContractBackend) (*SystemContractErrors, error)
NewSystemContractErrors creates a new instance of SystemContractErrors, bound to a specific deployed contract.
type SystemContractErrorsCaller ¶
type SystemContractErrorsCaller struct {
// contains filtered or unexported fields
}
SystemContractErrorsCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSystemContractErrorsCaller ¶
func NewSystemContractErrorsCaller(address common.Address, caller bind.ContractCaller) (*SystemContractErrorsCaller, error)
NewSystemContractErrorsCaller creates a new read-only instance of SystemContractErrors, bound to a specific deployed contract.
type SystemContractErrorsCallerRaw ¶
type SystemContractErrorsCallerRaw struct {
Contract *SystemContractErrorsCaller // Generic read-only contract binding to access the raw methods on
}
SystemContractErrorsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SystemContractErrorsCallerRaw) Call ¶
func (_SystemContractErrors *SystemContractErrorsCallerRaw) 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 SystemContractErrorsCallerSession ¶
type SystemContractErrorsCallerSession struct { Contract *SystemContractErrorsCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SystemContractErrorsCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type SystemContractErrorsFilterer ¶
type SystemContractErrorsFilterer struct {
// contains filtered or unexported fields
}
SystemContractErrorsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSystemContractErrorsFilterer ¶
func NewSystemContractErrorsFilterer(address common.Address, filterer bind.ContractFilterer) (*SystemContractErrorsFilterer, error)
NewSystemContractErrorsFilterer creates a new log filterer instance of SystemContractErrors, bound to a specific deployed contract.
type SystemContractErrorsRaw ¶
type SystemContractErrorsRaw struct {
Contract *SystemContractErrors // Generic contract binding to access the raw methods on
}
SystemContractErrorsRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SystemContractErrorsRaw) Call ¶
func (_SystemContractErrors *SystemContractErrorsRaw) 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 (*SystemContractErrorsRaw) Transact ¶
func (_SystemContractErrors *SystemContractErrorsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SystemContractErrorsRaw) Transfer ¶
func (_SystemContractErrors *SystemContractErrorsRaw) 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 SystemContractErrorsSession ¶
type SystemContractErrorsSession struct { Contract *SystemContractErrors // 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 }
SystemContractErrorsSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type SystemContractErrorsTransactor ¶
type SystemContractErrorsTransactor struct {
// contains filtered or unexported fields
}
SystemContractErrorsTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSystemContractErrorsTransactor ¶
func NewSystemContractErrorsTransactor(address common.Address, transactor bind.ContractTransactor) (*SystemContractErrorsTransactor, error)
NewSystemContractErrorsTransactor creates a new write-only instance of SystemContractErrors, bound to a specific deployed contract.
type SystemContractErrorsTransactorRaw ¶
type SystemContractErrorsTransactorRaw struct {
Contract *SystemContractErrorsTransactor // Generic write-only contract binding to access the raw methods on
}
SystemContractErrorsTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SystemContractErrorsTransactorRaw) Transact ¶
func (_SystemContractErrors *SystemContractErrorsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SystemContractErrorsTransactorRaw) Transfer ¶
func (_SystemContractErrors *SystemContractErrorsTransactorRaw) 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 SystemContractErrorsTransactorSession ¶
type SystemContractErrorsTransactorSession struct { Contract *SystemContractErrorsTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SystemContractErrorsTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type SystemContractFilterer ¶
type SystemContractFilterer struct {
// contains filtered or unexported fields
}
SystemContractFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSystemContractFilterer ¶
func NewSystemContractFilterer(address common.Address, filterer bind.ContractFilterer) (*SystemContractFilterer, error)
NewSystemContractFilterer creates a new log filterer instance of SystemContract, bound to a specific deployed contract.
func (*SystemContractFilterer) FilterSetConnectorZEVM ¶
func (_SystemContract *SystemContractFilterer) FilterSetConnectorZEVM(opts *bind.FilterOpts) (*SystemContractSetConnectorZEVMIterator, error)
FilterSetConnectorZEVM is a free log retrieval operation binding the contract event 0x3ade88e3922d64780e1bf4460d364c2970b69da813f9c0c07a1c187b5647636c.
Solidity: event SetConnectorZEVM(address arg0)
func (*SystemContractFilterer) FilterSetGasCoin ¶
func (_SystemContract *SystemContractFilterer) FilterSetGasCoin(opts *bind.FilterOpts) (*SystemContractSetGasCoinIterator, error)
FilterSetGasCoin is a free log retrieval operation binding the contract event 0xd1b36d30f6248e97c473b4d1348ca164a4ef6759022f54a58ec200326c39c45d.
Solidity: event SetGasCoin(uint256 arg0, address arg1)
func (*SystemContractFilterer) FilterSetGasPrice ¶
func (_SystemContract *SystemContractFilterer) FilterSetGasPrice(opts *bind.FilterOpts) (*SystemContractSetGasPriceIterator, error)
FilterSetGasPrice is a free log retrieval operation binding the contract event 0x49f492222906ac486c3c1401fa545626df1f0c0e5a77a05597ea2ed66af9850d.
Solidity: event SetGasPrice(uint256 arg0, uint256 arg1)
func (*SystemContractFilterer) FilterSetGasZetaPool ¶
func (_SystemContract *SystemContractFilterer) FilterSetGasZetaPool(opts *bind.FilterOpts) (*SystemContractSetGasZetaPoolIterator, error)
FilterSetGasZetaPool is a free log retrieval operation binding the contract event 0x0ecec485166da6139b13bb7e033e9446e2d35348e80ebf1180d4afe2dba1704e.
Solidity: event SetGasZetaPool(uint256 arg0, address arg1)
func (*SystemContractFilterer) FilterSetWZeta ¶
func (_SystemContract *SystemContractFilterer) FilterSetWZeta(opts *bind.FilterOpts) (*SystemContractSetWZetaIterator, error)
FilterSetWZeta is a free log retrieval operation binding the contract event 0xdba79d534382d1a8ae108e4c8ecb27c6ae42ab8b91d44eedf88bd329f3868d5e.
Solidity: event SetWZeta(address arg0)
func (*SystemContractFilterer) FilterSystemContractDeployed ¶
func (_SystemContract *SystemContractFilterer) FilterSystemContractDeployed(opts *bind.FilterOpts) (*SystemContractSystemContractDeployedIterator, error)
FilterSystemContractDeployed is a free log retrieval operation binding the contract event 0x80699e81136d69cb8367ad52a994e25c722a86da654b561d0c14b61a777e7ac5.
Solidity: event SystemContractDeployed()
func (*SystemContractFilterer) ParseSetConnectorZEVM ¶
func (_SystemContract *SystemContractFilterer) ParseSetConnectorZEVM(log types.Log) (*SystemContractSetConnectorZEVM, error)
ParseSetConnectorZEVM is a log parse operation binding the contract event 0x3ade88e3922d64780e1bf4460d364c2970b69da813f9c0c07a1c187b5647636c.
Solidity: event SetConnectorZEVM(address arg0)
func (*SystemContractFilterer) ParseSetGasCoin ¶
func (_SystemContract *SystemContractFilterer) ParseSetGasCoin(log types.Log) (*SystemContractSetGasCoin, error)
ParseSetGasCoin is a log parse operation binding the contract event 0xd1b36d30f6248e97c473b4d1348ca164a4ef6759022f54a58ec200326c39c45d.
Solidity: event SetGasCoin(uint256 arg0, address arg1)
func (*SystemContractFilterer) ParseSetGasPrice ¶
func (_SystemContract *SystemContractFilterer) ParseSetGasPrice(log types.Log) (*SystemContractSetGasPrice, error)
ParseSetGasPrice is a log parse operation binding the contract event 0x49f492222906ac486c3c1401fa545626df1f0c0e5a77a05597ea2ed66af9850d.
Solidity: event SetGasPrice(uint256 arg0, uint256 arg1)
func (*SystemContractFilterer) ParseSetGasZetaPool ¶
func (_SystemContract *SystemContractFilterer) ParseSetGasZetaPool(log types.Log) (*SystemContractSetGasZetaPool, error)
ParseSetGasZetaPool is a log parse operation binding the contract event 0x0ecec485166da6139b13bb7e033e9446e2d35348e80ebf1180d4afe2dba1704e.
Solidity: event SetGasZetaPool(uint256 arg0, address arg1)
func (*SystemContractFilterer) ParseSetWZeta ¶
func (_SystemContract *SystemContractFilterer) ParseSetWZeta(log types.Log) (*SystemContractSetWZeta, error)
ParseSetWZeta is a log parse operation binding the contract event 0xdba79d534382d1a8ae108e4c8ecb27c6ae42ab8b91d44eedf88bd329f3868d5e.
Solidity: event SetWZeta(address arg0)
func (*SystemContractFilterer) ParseSystemContractDeployed ¶
func (_SystemContract *SystemContractFilterer) ParseSystemContractDeployed(log types.Log) (*SystemContractSystemContractDeployed, error)
ParseSystemContractDeployed is a log parse operation binding the contract event 0x80699e81136d69cb8367ad52a994e25c722a86da654b561d0c14b61a777e7ac5.
Solidity: event SystemContractDeployed()
func (*SystemContractFilterer) WatchSetConnectorZEVM ¶
func (_SystemContract *SystemContractFilterer) WatchSetConnectorZEVM(opts *bind.WatchOpts, sink chan<- *SystemContractSetConnectorZEVM) (event.Subscription, error)
WatchSetConnectorZEVM is a free log subscription operation binding the contract event 0x3ade88e3922d64780e1bf4460d364c2970b69da813f9c0c07a1c187b5647636c.
Solidity: event SetConnectorZEVM(address arg0)
func (*SystemContractFilterer) WatchSetGasCoin ¶
func (_SystemContract *SystemContractFilterer) WatchSetGasCoin(opts *bind.WatchOpts, sink chan<- *SystemContractSetGasCoin) (event.Subscription, error)
WatchSetGasCoin is a free log subscription operation binding the contract event 0xd1b36d30f6248e97c473b4d1348ca164a4ef6759022f54a58ec200326c39c45d.
Solidity: event SetGasCoin(uint256 arg0, address arg1)
func (*SystemContractFilterer) WatchSetGasPrice ¶
func (_SystemContract *SystemContractFilterer) WatchSetGasPrice(opts *bind.WatchOpts, sink chan<- *SystemContractSetGasPrice) (event.Subscription, error)
WatchSetGasPrice is a free log subscription operation binding the contract event 0x49f492222906ac486c3c1401fa545626df1f0c0e5a77a05597ea2ed66af9850d.
Solidity: event SetGasPrice(uint256 arg0, uint256 arg1)
func (*SystemContractFilterer) WatchSetGasZetaPool ¶
func (_SystemContract *SystemContractFilterer) WatchSetGasZetaPool(opts *bind.WatchOpts, sink chan<- *SystemContractSetGasZetaPool) (event.Subscription, error)
WatchSetGasZetaPool is a free log subscription operation binding the contract event 0x0ecec485166da6139b13bb7e033e9446e2d35348e80ebf1180d4afe2dba1704e.
Solidity: event SetGasZetaPool(uint256 arg0, address arg1)
func (*SystemContractFilterer) WatchSetWZeta ¶
func (_SystemContract *SystemContractFilterer) WatchSetWZeta(opts *bind.WatchOpts, sink chan<- *SystemContractSetWZeta) (event.Subscription, error)
WatchSetWZeta is a free log subscription operation binding the contract event 0xdba79d534382d1a8ae108e4c8ecb27c6ae42ab8b91d44eedf88bd329f3868d5e.
Solidity: event SetWZeta(address arg0)
func (*SystemContractFilterer) WatchSystemContractDeployed ¶
func (_SystemContract *SystemContractFilterer) WatchSystemContractDeployed(opts *bind.WatchOpts, sink chan<- *SystemContractSystemContractDeployed) (event.Subscription, error)
WatchSystemContractDeployed is a free log subscription operation binding the contract event 0x80699e81136d69cb8367ad52a994e25c722a86da654b561d0c14b61a777e7ac5.
Solidity: event SystemContractDeployed()
type SystemContractRaw ¶
type SystemContractRaw struct {
Contract *SystemContract // Generic contract binding to access the raw methods on
}
SystemContractRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SystemContractRaw) Call ¶
func (_SystemContract *SystemContractRaw) 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 (*SystemContractRaw) Transact ¶
func (_SystemContract *SystemContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SystemContractRaw) Transfer ¶
func (_SystemContract *SystemContractRaw) 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 SystemContractSession ¶
type SystemContractSession struct { Contract *SystemContract // 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 }
SystemContractSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*SystemContractSession) DepositAndCall ¶
func (_SystemContract *SystemContractSession) DepositAndCall(context ZContext, zrc20 common.Address, amount *big.Int, target common.Address, message []byte) (*types.Transaction, error)
DepositAndCall is a paid mutator transaction binding the contract method 0xc39aca37.
Solidity: function depositAndCall((bytes,address,uint256) context, address zrc20, uint256 amount, address target, bytes message) returns()
func (*SystemContractSession) FUNGIBLEMODULEADDRESS ¶
func (_SystemContract *SystemContractSession) FUNGIBLEMODULEADDRESS() (common.Address, error)
FUNGIBLEMODULEADDRESS is a free data retrieval call binding the contract method 0x3ce4a5bc.
Solidity: function FUNGIBLE_MODULE_ADDRESS() view returns(address)
func (*SystemContractSession) GasCoinZRC20ByChainId ¶
func (_SystemContract *SystemContractSession) GasCoinZRC20ByChainId(arg0 *big.Int) (common.Address, error)
GasCoinZRC20ByChainId is a free data retrieval call binding the contract method 0x0be15547.
Solidity: function gasCoinZRC20ByChainId(uint256 ) view returns(address)
func (*SystemContractSession) GasPriceByChainId ¶
GasPriceByChainId is a free data retrieval call binding the contract method 0xd7fd7afb.
Solidity: function gasPriceByChainId(uint256 ) view returns(uint256)
func (*SystemContractSession) GasZetaPoolByChainId ¶
func (_SystemContract *SystemContractSession) GasZetaPoolByChainId(arg0 *big.Int) (common.Address, error)
GasZetaPoolByChainId is a free data retrieval call binding the contract method 0x513a9c05.
Solidity: function gasZetaPoolByChainId(uint256 ) view returns(address)
func (*SystemContractSession) SetConnectorZEVMAddress ¶
func (_SystemContract *SystemContractSession) SetConnectorZEVMAddress(addr common.Address) (*types.Transaction, error)
SetConnectorZEVMAddress is a paid mutator transaction binding the contract method 0x1f0e251b.
Solidity: function setConnectorZEVMAddress(address addr) returns()
func (*SystemContractSession) SetGasCoinZRC20 ¶
func (_SystemContract *SystemContractSession) SetGasCoinZRC20(chainID *big.Int, zrc20 common.Address) (*types.Transaction, error)
SetGasCoinZRC20 is a paid mutator transaction binding the contract method 0xee2815ba.
Solidity: function setGasCoinZRC20(uint256 chainID, address zrc20) returns()
func (*SystemContractSession) SetGasPrice ¶
func (_SystemContract *SystemContractSession) SetGasPrice(chainID *big.Int, price *big.Int) (*types.Transaction, error)
SetGasPrice is a paid mutator transaction binding the contract method 0xa7cb0507.
Solidity: function setGasPrice(uint256 chainID, uint256 price) returns()
func (*SystemContractSession) SetGasZetaPool ¶
func (_SystemContract *SystemContractSession) SetGasZetaPool(chainID *big.Int, erc20 common.Address) (*types.Transaction, error)
SetGasZetaPool is a paid mutator transaction binding the contract method 0x91dd645f.
Solidity: function setGasZetaPool(uint256 chainID, address erc20) returns()
func (*SystemContractSession) SetWZETAContractAddress ¶
func (_SystemContract *SystemContractSession) SetWZETAContractAddress(addr common.Address) (*types.Transaction, error)
SetWZETAContractAddress is a paid mutator transaction binding the contract method 0x97770dff.
Solidity: function setWZETAContractAddress(address addr) returns()
func (*SystemContractSession) Uniswapv2FactoryAddress ¶
func (_SystemContract *SystemContractSession) Uniswapv2FactoryAddress() (common.Address, error)
Uniswapv2FactoryAddress is a free data retrieval call binding the contract method 0xd936a012.
Solidity: function uniswapv2FactoryAddress() view returns(address)
func (*SystemContractSession) Uniswapv2PairFor ¶
func (_SystemContract *SystemContractSession) Uniswapv2PairFor(factory common.Address, tokenA common.Address, tokenB common.Address) (common.Address, error)
Uniswapv2PairFor is a free data retrieval call binding the contract method 0xc63585cc.
Solidity: function uniswapv2PairFor(address factory, address tokenA, address tokenB) pure returns(address pair)
func (*SystemContractSession) Uniswapv2Router02Address ¶
func (_SystemContract *SystemContractSession) Uniswapv2Router02Address() (common.Address, error)
Uniswapv2Router02Address is a free data retrieval call binding the contract method 0x842da36d.
Solidity: function uniswapv2Router02Address() view returns(address)
func (*SystemContractSession) WZetaContractAddress ¶
func (_SystemContract *SystemContractSession) WZetaContractAddress() (common.Address, error)
WZetaContractAddress is a free data retrieval call binding the contract method 0x569541b9.
Solidity: function wZetaContractAddress() view returns(address)
func (*SystemContractSession) ZetaConnectorZEVMAddress ¶
func (_SystemContract *SystemContractSession) ZetaConnectorZEVMAddress() (common.Address, error)
ZetaConnectorZEVMAddress is a free data retrieval call binding the contract method 0xc62178ac.
Solidity: function zetaConnectorZEVMAddress() view returns(address)
type SystemContractSetConnectorZEVM ¶
type SystemContractSetConnectorZEVM struct { Arg0 common.Address Raw types.Log // Blockchain specific contextual infos }
SystemContractSetConnectorZEVM represents a SetConnectorZEVM event raised by the SystemContract contract.
type SystemContractSetConnectorZEVMIterator ¶
type SystemContractSetConnectorZEVMIterator struct { Event *SystemContractSetConnectorZEVM // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SystemContractSetConnectorZEVMIterator is returned from FilterSetConnectorZEVM and is used to iterate over the raw logs and unpacked data for SetConnectorZEVM events raised by the SystemContract contract.
func (*SystemContractSetConnectorZEVMIterator) Close ¶
func (it *SystemContractSetConnectorZEVMIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SystemContractSetConnectorZEVMIterator) Error ¶
func (it *SystemContractSetConnectorZEVMIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SystemContractSetConnectorZEVMIterator) Next ¶
func (it *SystemContractSetConnectorZEVMIterator) Next() bool
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 SystemContractSetGasCoin ¶
type SystemContractSetGasCoin struct { Arg0 *big.Int Arg1 common.Address Raw types.Log // Blockchain specific contextual infos }
SystemContractSetGasCoin represents a SetGasCoin event raised by the SystemContract contract.
type SystemContractSetGasCoinIterator ¶
type SystemContractSetGasCoinIterator struct { Event *SystemContractSetGasCoin // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SystemContractSetGasCoinIterator is returned from FilterSetGasCoin and is used to iterate over the raw logs and unpacked data for SetGasCoin events raised by the SystemContract contract.
func (*SystemContractSetGasCoinIterator) Close ¶
func (it *SystemContractSetGasCoinIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SystemContractSetGasCoinIterator) Error ¶
func (it *SystemContractSetGasCoinIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SystemContractSetGasCoinIterator) Next ¶
func (it *SystemContractSetGasCoinIterator) Next() bool
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 SystemContractSetGasPrice ¶
type SystemContractSetGasPrice struct { Arg0 *big.Int Arg1 *big.Int Raw types.Log // Blockchain specific contextual infos }
SystemContractSetGasPrice represents a SetGasPrice event raised by the SystemContract contract.
type SystemContractSetGasPriceIterator ¶
type SystemContractSetGasPriceIterator struct { Event *SystemContractSetGasPrice // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SystemContractSetGasPriceIterator is returned from FilterSetGasPrice and is used to iterate over the raw logs and unpacked data for SetGasPrice events raised by the SystemContract contract.
func (*SystemContractSetGasPriceIterator) Close ¶
func (it *SystemContractSetGasPriceIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SystemContractSetGasPriceIterator) Error ¶
func (it *SystemContractSetGasPriceIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SystemContractSetGasPriceIterator) Next ¶
func (it *SystemContractSetGasPriceIterator) Next() bool
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 SystemContractSetGasZetaPool ¶
type SystemContractSetGasZetaPool struct { Arg0 *big.Int Arg1 common.Address Raw types.Log // Blockchain specific contextual infos }
SystemContractSetGasZetaPool represents a SetGasZetaPool event raised by the SystemContract contract.
type SystemContractSetGasZetaPoolIterator ¶
type SystemContractSetGasZetaPoolIterator struct { Event *SystemContractSetGasZetaPool // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SystemContractSetGasZetaPoolIterator is returned from FilterSetGasZetaPool and is used to iterate over the raw logs and unpacked data for SetGasZetaPool events raised by the SystemContract contract.
func (*SystemContractSetGasZetaPoolIterator) Close ¶
func (it *SystemContractSetGasZetaPoolIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SystemContractSetGasZetaPoolIterator) Error ¶
func (it *SystemContractSetGasZetaPoolIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SystemContractSetGasZetaPoolIterator) Next ¶
func (it *SystemContractSetGasZetaPoolIterator) Next() bool
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 SystemContractSetWZeta ¶
type SystemContractSetWZeta struct { Arg0 common.Address Raw types.Log // Blockchain specific contextual infos }
SystemContractSetWZeta represents a SetWZeta event raised by the SystemContract contract.
type SystemContractSetWZetaIterator ¶
type SystemContractSetWZetaIterator struct { Event *SystemContractSetWZeta // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SystemContractSetWZetaIterator is returned from FilterSetWZeta and is used to iterate over the raw logs and unpacked data for SetWZeta events raised by the SystemContract contract.
func (*SystemContractSetWZetaIterator) Close ¶
func (it *SystemContractSetWZetaIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SystemContractSetWZetaIterator) Error ¶
func (it *SystemContractSetWZetaIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SystemContractSetWZetaIterator) Next ¶
func (it *SystemContractSetWZetaIterator) Next() bool
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 SystemContractSystemContractDeployed ¶
type SystemContractSystemContractDeployed struct {
Raw types.Log // Blockchain specific contextual infos
}
SystemContractSystemContractDeployed represents a SystemContractDeployed event raised by the SystemContract contract.
type SystemContractSystemContractDeployedIterator ¶
type SystemContractSystemContractDeployedIterator struct { Event *SystemContractSystemContractDeployed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SystemContractSystemContractDeployedIterator is returned from FilterSystemContractDeployed and is used to iterate over the raw logs and unpacked data for SystemContractDeployed events raised by the SystemContract contract.
func (*SystemContractSystemContractDeployedIterator) Close ¶
func (it *SystemContractSystemContractDeployedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SystemContractSystemContractDeployedIterator) Error ¶
func (it *SystemContractSystemContractDeployedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SystemContractSystemContractDeployedIterator) Next ¶
func (it *SystemContractSystemContractDeployedIterator) Next() bool
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 SystemContractTransactor ¶
type SystemContractTransactor struct {
// contains filtered or unexported fields
}
SystemContractTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSystemContractTransactor ¶
func NewSystemContractTransactor(address common.Address, transactor bind.ContractTransactor) (*SystemContractTransactor, error)
NewSystemContractTransactor creates a new write-only instance of SystemContract, bound to a specific deployed contract.
func (*SystemContractTransactor) DepositAndCall ¶
func (_SystemContract *SystemContractTransactor) DepositAndCall(opts *bind.TransactOpts, context ZContext, zrc20 common.Address, amount *big.Int, target common.Address, message []byte) (*types.Transaction, error)
DepositAndCall is a paid mutator transaction binding the contract method 0xc39aca37.
Solidity: function depositAndCall((bytes,address,uint256) context, address zrc20, uint256 amount, address target, bytes message) returns()
func (*SystemContractTransactor) SetConnectorZEVMAddress ¶
func (_SystemContract *SystemContractTransactor) SetConnectorZEVMAddress(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)
SetConnectorZEVMAddress is a paid mutator transaction binding the contract method 0x1f0e251b.
Solidity: function setConnectorZEVMAddress(address addr) returns()
func (*SystemContractTransactor) SetGasCoinZRC20 ¶
func (_SystemContract *SystemContractTransactor) SetGasCoinZRC20(opts *bind.TransactOpts, chainID *big.Int, zrc20 common.Address) (*types.Transaction, error)
SetGasCoinZRC20 is a paid mutator transaction binding the contract method 0xee2815ba.
Solidity: function setGasCoinZRC20(uint256 chainID, address zrc20) returns()
func (*SystemContractTransactor) SetGasPrice ¶
func (_SystemContract *SystemContractTransactor) SetGasPrice(opts *bind.TransactOpts, chainID *big.Int, price *big.Int) (*types.Transaction, error)
SetGasPrice is a paid mutator transaction binding the contract method 0xa7cb0507.
Solidity: function setGasPrice(uint256 chainID, uint256 price) returns()
func (*SystemContractTransactor) SetGasZetaPool ¶
func (_SystemContract *SystemContractTransactor) SetGasZetaPool(opts *bind.TransactOpts, chainID *big.Int, erc20 common.Address) (*types.Transaction, error)
SetGasZetaPool is a paid mutator transaction binding the contract method 0x91dd645f.
Solidity: function setGasZetaPool(uint256 chainID, address erc20) returns()
func (*SystemContractTransactor) SetWZETAContractAddress ¶
func (_SystemContract *SystemContractTransactor) SetWZETAContractAddress(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)
SetWZETAContractAddress is a paid mutator transaction binding the contract method 0x97770dff.
Solidity: function setWZETAContractAddress(address addr) returns()
type SystemContractTransactorRaw ¶
type SystemContractTransactorRaw struct {
Contract *SystemContractTransactor // Generic write-only contract binding to access the raw methods on
}
SystemContractTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SystemContractTransactorRaw) Transact ¶
func (_SystemContract *SystemContractTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SystemContractTransactorRaw) Transfer ¶
func (_SystemContract *SystemContractTransactorRaw) 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 SystemContractTransactorSession ¶
type SystemContractTransactorSession struct { Contract *SystemContractTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SystemContractTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*SystemContractTransactorSession) DepositAndCall ¶
func (_SystemContract *SystemContractTransactorSession) DepositAndCall(context ZContext, zrc20 common.Address, amount *big.Int, target common.Address, message []byte) (*types.Transaction, error)
DepositAndCall is a paid mutator transaction binding the contract method 0xc39aca37.
Solidity: function depositAndCall((bytes,address,uint256) context, address zrc20, uint256 amount, address target, bytes message) returns()
func (*SystemContractTransactorSession) SetConnectorZEVMAddress ¶
func (_SystemContract *SystemContractTransactorSession) SetConnectorZEVMAddress(addr common.Address) (*types.Transaction, error)
SetConnectorZEVMAddress is a paid mutator transaction binding the contract method 0x1f0e251b.
Solidity: function setConnectorZEVMAddress(address addr) returns()
func (*SystemContractTransactorSession) SetGasCoinZRC20 ¶
func (_SystemContract *SystemContractTransactorSession) SetGasCoinZRC20(chainID *big.Int, zrc20 common.Address) (*types.Transaction, error)
SetGasCoinZRC20 is a paid mutator transaction binding the contract method 0xee2815ba.
Solidity: function setGasCoinZRC20(uint256 chainID, address zrc20) returns()
func (*SystemContractTransactorSession) SetGasPrice ¶
func (_SystemContract *SystemContractTransactorSession) SetGasPrice(chainID *big.Int, price *big.Int) (*types.Transaction, error)
SetGasPrice is a paid mutator transaction binding the contract method 0xa7cb0507.
Solidity: function setGasPrice(uint256 chainID, uint256 price) returns()
func (*SystemContractTransactorSession) SetGasZetaPool ¶
func (_SystemContract *SystemContractTransactorSession) SetGasZetaPool(chainID *big.Int, erc20 common.Address) (*types.Transaction, error)
SetGasZetaPool is a paid mutator transaction binding the contract method 0x91dd645f.
Solidity: function setGasZetaPool(uint256 chainID, address erc20) returns()
func (*SystemContractTransactorSession) SetWZETAContractAddress ¶
func (_SystemContract *SystemContractTransactorSession) SetWZETAContractAddress(addr common.Address) (*types.Transaction, error)
SetWZETAContractAddress is a paid mutator transaction binding the contract method 0x97770dff.
Solidity: function setWZETAContractAddress(address addr) returns()