systemcontract

package
v1.0.2-athens3 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SystemContractABI = SystemContractMetaData.ABI

SystemContractABI is the input ABI used to generate the binding from. Deprecated: Use SystemContractMetaData.ABI instead.

View Source
var SystemContractBin = SystemContractMetaData.Bin

SystemContractBin is the compiled bytecode used for deploying new contracts. Deprecated: Use SystemContractMetaData.Bin instead.

View Source
var SystemContractErrorsABI = SystemContractErrorsMetaData.ABI

SystemContractErrorsABI is the input ABI used to generate the binding from. Deprecated: Use SystemContractErrorsMetaData.ABI instead.

View Source
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.

View Source
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\":[{\"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: "0x60c06040523480156200001157600080fd5b50604051620016da380380620016da8339818101604052810190620000379190620001ac565b73735b14bb79463307aacbed86daf3322b1e6226ab73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614620000b1576040517f2b2add3d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b815250508073ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b815250507f80699e81136d69cb8367ad52a994e25c722a86da654b561d0c14b61a777e7ac560405160405180910390a15050506200025b565b600081519050620001a68162000241565b92915050565b600080600060608486031215620001c857620001c76200023c565b5b6000620001d88682870162000195565b9350506020620001eb8682870162000195565b9250506040620001fe8682870162000195565b9150509250925092565b600062000215826200021c565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600080fd5b6200024c8162000208565b81146200025857600080fd5b50565b60805160601c60a05160601c61144c6200028e600039600061051b0152600081816107ec0152610bc2015261144c6000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c806391dd645f11610097578063c63585cc11610066578063c63585cc1461025e578063d7fd7afb1461028e578063d936a012146102be578063ee2815ba146102dc576100f5565b806391dd645f146101ec57806397770dff14610208578063a7cb050714610224578063c62178ac14610240576100f5565b8063513a9c05116100d3578063513a9c0514610164578063569541b914610194578063842da36d146101b25780638c6f037f146101d0576100f5565b80630be15547146100fa5780631f0e251b1461012a5780633ce4a5bc14610146575b600080fd5b610114600480360381019061010f9190610fd2565b6102f8565b60405161012191906111ac565b60405180910390f35b610144600480360381019061013f9190610e9d565b61032b565b005b61014e6104a8565b60405161015b91906111ac565b60405180910390f35b61017e60048036038101906101799190610fd2565b6104c0565b60405161018b91906111ac565b60405180910390f35b61019c6104f3565b6040516101a991906111ac565b60405180910390f35b6101ba610519565b6040516101c791906111ac565b60405180910390f35b6101ea60048036038101906101e59190610f1d565b61053d565b005b61020660048036038101906102019190610fff565b61076c565b005b610222600480360381019061021d9190610e9d565b6108c6565b005b61023e6004803603810190610239919061103f565b610a43565b005b610248610b10565b60405161025591906111ac565b60405180910390f35b61027860048036038101906102739190610eca565b610b36565b60405161028591906111ac565b60405180910390f35b6102a860048036038101906102a39190610fd2565b610ba8565b6040516102b59190611230565b60405180910390f35b6102c6610bc0565b6040516102d391906111ac565b60405180910390f35b6102f660048036038101906102f19190610fff565b610be4565b005b60016020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b73735b14bb79463307aacbed86daf3322b1e6226ab73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146103a4576040517f2b2add3d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561040b576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f3ade88e3922d64780e1bf4460d364c2970b69da813f9c0c07a1c187b5647636c600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660405161049d91906111ac565b60405180910390a150565b73735b14bb79463307aacbed86daf3322b1e6226ab81565b60026020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7f000000000000000000000000000000000000000000000000000000000000000081565b73735b14bb79463307aacbed86daf3322b1e6226ab73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146105b6576040517f2b2add3d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73735b14bb79463307aacbed86daf3322b1e6226ab73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148061062f57503073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16145b15610666576040517f82d5d76a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff166347e7ef2484866040518363ffffffff1660e01b81526004016106a19291906111c7565b602060405180830381600087803b1580156106bb57600080fd5b505af11580156106cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f39190610fa5565b508273ffffffffffffffffffffffffffffffffffffffff1663c8522691868685856040518563ffffffff1660e01b815260040161073394939291906111f0565b600060405180830381600087803b15801561074d57600080fd5b505af1158015610761573d6000803e3d6000fd5b505050505050505050565b73735b14bb79463307aacbed86daf3322b1e6226ab73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146107e5576040517f2b2add3d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006108347f0000000000000000000000000000000000000000000000000000000000000000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684610b36565b9050806002600085815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f0ecec485166da6139b13bb7e033e9446e2d35348e80ebf1180d4afe2dba1704e83826040516108b992919061124b565b60405180910390a1505050565b73735b14bb79463307aacbed86daf3322b1e6226ab73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461093f576040517f2b2add3d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156109a6576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fdba79d534382d1a8ae108e4c8ecb27c6ae42ab8b91d44eedf88bd329f3868d5e600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16604051610a3891906111ac565b60405180910390a150565b73735b14bb79463307aacbed86daf3322b1e6226ab73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610abc576040517f2b2add3d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600080848152602001908152602001600020819055507f49f492222906ac486c3c1401fa545626df1f0c0e5a77a05597ea2ed66af9850d8282604051610b04929190611274565b60405180910390a15050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806000610b458585610cec565b91509150858282604051602001610b5d92919061113e565b60405160208183030381529060405280519060200120604051602001610b8492919061116a565b6040516020818303038152906040528051906020012060001c925050509392505050565b60006020528060005260406000206000915090505481565b7f000000000000000000000000000000000000000000000000000000000000000081565b73735b14bb79463307aacbed86daf3322b1e6226ab73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610c5d576040517f2b2add3d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806001600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fd1b36d30f6248e97c473b4d1348ca164a4ef6759022f54a58ec200326c39c45d8282604051610ce092919061124b565b60405180910390a15050565b6000808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415610d55576040517fcb1e7cfe00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1610610d8f578284610d92565b83835b8092508193505050600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e01576040517f78b507da00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b9250929050565b600081359050610e17816113d1565b92915050565b600081519050610e2c816113e8565b92915050565b60008083601f840112610e4857610e4761134d565b5b8235905067ffffffffffffffff811115610e6557610e64611348565b5b602083019150836001820283011115610e8157610e80611352565b5b9250929050565b600081359050610e97816113ff565b92915050565b600060208284031215610eb357610eb261135c565b5b6000610ec184828501610e08565b91505092915050565b600080600060608486031215610ee357610ee261135c565b5b6000610ef186828701610e08565b9350506020610f0286828701610e08565b9250506040610f1386828701610e08565b9150509250925092565b600080600080600060808688031215610f3957610f3861135c565b5b6000610f4788828901610e08565b9550506020610f5888828901610e88565b9450506040610f6988828901610e08565b935050606086013567ffffffffffffffff811115610f8a57610f89611357565b5b610f9688828901610e32565b92509250509295509295909350565b600060208284031215610fbb57610fba61135c565b5b6000610fc984828501610e1d565b91505092915050565b600060208284031215610fe857610fe761135c565b5b6000610ff684828501610e88565b91505092915050565b600080604083850312156110165761101561135c565b5b600061102485828601610e88565b925050602061103585828601610e08565b9150509250929050565b600080604083850312156110565761105561135c565b5b600061106485828601610e88565b925050602061107585828601610e88565b9150509250929050565b611088816112b9565b82525050565b61109f61109a826112b9565b61131a565b82525050565b6110b66110b1826112d7565b61132c565b82525050565b60006110c8838561129d565b93506110d583858461130b565b6110de83611361565b840190509392505050565b60006110f66020836112ae565b91506111018261137f565b602082019050919050565b60006111196001836112ae565b9150611124826113a8565b600182019050919050565b61113881611301565b82525050565b600061114a828561108e565b60148201915061115a828461108e565b6014820191508190509392505050565b60006111758261110c565b9150611181828561108e565b60148201915061119182846110a5565b6020820191506111a0826110e9565b91508190509392505050565b60006020820190506111c1600083018461107f565b92915050565b60006040820190506111dc600083018561107f565b6111e9602083018461112f565b9392505050565b6000606082019050611205600083018761107f565b611212602083018661112f565b81810360408301526112258184866110bc565b905095945050505050565b6000602082019050611245600083018461112f565b92915050565b6000604082019050611260600083018561112f565b61126d602083018461107f565b9392505050565b6000604082019050611289600083018561112f565b611296602083018461112f565b9392505050565b600082825260208201905092915050565b600081905092915050565b60006112c4826112e1565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b600061132582611336565b9050919050565b6000819050919050565b600061134182611372565b9050919050565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f600082015250565b7fff00000000000000000000000000000000000000000000000000000000000000600082015250565b6113da816112b9565b81146113e557600080fd5b50565b6113f1816112cb565b81146113fc57600080fd5b50565b61140881611301565b811461141357600080fd5b5056fea26469706673582212201301c22af2146d3c8a752401f833e6bfb0b266f20d3fa3d546563c7ca9df07d764736f6c63430008070033",
}

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(zrc20 common.Address, amount *big.Int, target common.Address, message []byte) (*types.Transaction, error)

DepositAndCall is a paid mutator transaction binding the contract method 0x8c6f037f.

Solidity: function depositAndCall(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

func (_SystemContract *SystemContractSession) 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 (*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

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

func (*SystemContractSetConnectorZEVMIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SystemContractSetConnectorZEVMIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type 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

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

func (*SystemContractSetGasCoinIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SystemContractSetGasCoinIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type 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

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

func (*SystemContractSetGasPriceIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SystemContractSetGasPriceIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type 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

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

func (*SystemContractSetGasZetaPoolIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SystemContractSetGasZetaPoolIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type 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

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

func (*SystemContractSetWZetaIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SystemContractSetWZetaIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type 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

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

func (*SystemContractSystemContractDeployedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SystemContractSystemContractDeployedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type 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, zrc20 common.Address, amount *big.Int, target common.Address, message []byte) (*types.Transaction, error)

DepositAndCall is a paid mutator transaction binding the contract method 0x8c6f037f.

Solidity: function depositAndCall(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(zrc20 common.Address, amount *big.Int, target common.Address, message []byte) (*types.Transaction, error)

DepositAndCall is a paid mutator transaction binding the contract method 0x8c6f037f.

Solidity: function depositAndCall(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()

Jump to

Keyboard shortcuts

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