Documentation ¶
Index ¶
- Variables
- 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 SystemContractMock
- type SystemContractMockCaller
- func (_SystemContractMock *SystemContractMockCaller) GasCoinZRC20ByChainId(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
- func (_SystemContractMock *SystemContractMockCaller) GasPriceByChainId(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- func (_SystemContractMock *SystemContractMockCaller) GasZetaPoolByChainId(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
- func (_SystemContractMock *SystemContractMockCaller) Uniswapv2FactoryAddress(opts *bind.CallOpts) (common.Address, error)
- func (_SystemContractMock *SystemContractMockCaller) Uniswapv2PairFor(opts *bind.CallOpts, factory common.Address, tokenA common.Address, ...) (common.Address, error)
- func (_SystemContractMock *SystemContractMockCaller) Uniswapv2Router02Address(opts *bind.CallOpts) (common.Address, error)
- func (_SystemContractMock *SystemContractMockCaller) WZetaContractAddress(opts *bind.CallOpts) (common.Address, error)
- type SystemContractMockCallerRaw
- type SystemContractMockCallerSession
- func (_SystemContractMock *SystemContractMockCallerSession) GasCoinZRC20ByChainId(arg0 *big.Int) (common.Address, error)
- func (_SystemContractMock *SystemContractMockCallerSession) GasPriceByChainId(arg0 *big.Int) (*big.Int, error)
- func (_SystemContractMock *SystemContractMockCallerSession) GasZetaPoolByChainId(arg0 *big.Int) (common.Address, error)
- func (_SystemContractMock *SystemContractMockCallerSession) Uniswapv2FactoryAddress() (common.Address, error)
- func (_SystemContractMock *SystemContractMockCallerSession) Uniswapv2PairFor(factory common.Address, tokenA common.Address, tokenB common.Address) (common.Address, error)
- func (_SystemContractMock *SystemContractMockCallerSession) Uniswapv2Router02Address() (common.Address, error)
- func (_SystemContractMock *SystemContractMockCallerSession) WZetaContractAddress() (common.Address, error)
- type SystemContractMockFilterer
- func (_SystemContractMock *SystemContractMockFilterer) FilterSetGasCoin(opts *bind.FilterOpts) (*SystemContractMockSetGasCoinIterator, error)
- func (_SystemContractMock *SystemContractMockFilterer) FilterSetGasPrice(opts *bind.FilterOpts) (*SystemContractMockSetGasPriceIterator, error)
- func (_SystemContractMock *SystemContractMockFilterer) FilterSetGasZetaPool(opts *bind.FilterOpts) (*SystemContractMockSetGasZetaPoolIterator, error)
- func (_SystemContractMock *SystemContractMockFilterer) FilterSetWZeta(opts *bind.FilterOpts) (*SystemContractMockSetWZetaIterator, error)
- func (_SystemContractMock *SystemContractMockFilterer) FilterSystemContractDeployed(opts *bind.FilterOpts) (*SystemContractMockSystemContractDeployedIterator, error)
- func (_SystemContractMock *SystemContractMockFilterer) ParseSetGasCoin(log types.Log) (*SystemContractMockSetGasCoin, error)
- func (_SystemContractMock *SystemContractMockFilterer) ParseSetGasPrice(log types.Log) (*SystemContractMockSetGasPrice, error)
- func (_SystemContractMock *SystemContractMockFilterer) ParseSetGasZetaPool(log types.Log) (*SystemContractMockSetGasZetaPool, error)
- func (_SystemContractMock *SystemContractMockFilterer) ParseSetWZeta(log types.Log) (*SystemContractMockSetWZeta, error)
- func (_SystemContractMock *SystemContractMockFilterer) ParseSystemContractDeployed(log types.Log) (*SystemContractMockSystemContractDeployed, error)
- func (_SystemContractMock *SystemContractMockFilterer) WatchSetGasCoin(opts *bind.WatchOpts, sink chan<- *SystemContractMockSetGasCoin) (event.Subscription, error)
- func (_SystemContractMock *SystemContractMockFilterer) WatchSetGasPrice(opts *bind.WatchOpts, sink chan<- *SystemContractMockSetGasPrice) (event.Subscription, error)
- func (_SystemContractMock *SystemContractMockFilterer) WatchSetGasZetaPool(opts *bind.WatchOpts, sink chan<- *SystemContractMockSetGasZetaPool) (event.Subscription, error)
- func (_SystemContractMock *SystemContractMockFilterer) WatchSetWZeta(opts *bind.WatchOpts, sink chan<- *SystemContractMockSetWZeta) (event.Subscription, error)
- func (_SystemContractMock *SystemContractMockFilterer) WatchSystemContractDeployed(opts *bind.WatchOpts, sink chan<- *SystemContractMockSystemContractDeployed) (event.Subscription, error)
- type SystemContractMockRaw
- func (_SystemContractMock *SystemContractMockRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_SystemContractMock *SystemContractMockRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SystemContractMock *SystemContractMockRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SystemContractMockSession
- func (_SystemContractMock *SystemContractMockSession) GasCoinZRC20ByChainId(arg0 *big.Int) (common.Address, error)
- func (_SystemContractMock *SystemContractMockSession) GasPriceByChainId(arg0 *big.Int) (*big.Int, error)
- func (_SystemContractMock *SystemContractMockSession) GasZetaPoolByChainId(arg0 *big.Int) (common.Address, error)
- func (_SystemContractMock *SystemContractMockSession) OnCrossChainCall(target common.Address, zrc20 common.Address, amount *big.Int, message []byte) (*types.Transaction, error)
- func (_SystemContractMock *SystemContractMockSession) SetGasCoinZRC20(chainID *big.Int, zrc20 common.Address) (*types.Transaction, error)
- func (_SystemContractMock *SystemContractMockSession) SetGasPrice(chainID *big.Int, price *big.Int) (*types.Transaction, error)
- func (_SystemContractMock *SystemContractMockSession) SetWZETAContractAddress(addr common.Address) (*types.Transaction, error)
- func (_SystemContractMock *SystemContractMockSession) Uniswapv2FactoryAddress() (common.Address, error)
- func (_SystemContractMock *SystemContractMockSession) Uniswapv2PairFor(factory common.Address, tokenA common.Address, tokenB common.Address) (common.Address, error)
- func (_SystemContractMock *SystemContractMockSession) Uniswapv2Router02Address() (common.Address, error)
- func (_SystemContractMock *SystemContractMockSession) WZetaContractAddress() (common.Address, error)
- type SystemContractMockSetGasCoin
- type SystemContractMockSetGasCoinIterator
- type SystemContractMockSetGasPrice
- type SystemContractMockSetGasPriceIterator
- type SystemContractMockSetGasZetaPool
- type SystemContractMockSetGasZetaPoolIterator
- type SystemContractMockSetWZeta
- type SystemContractMockSetWZetaIterator
- type SystemContractMockSystemContractDeployed
- type SystemContractMockSystemContractDeployedIterator
- type SystemContractMockTransactor
- func (_SystemContractMock *SystemContractMockTransactor) OnCrossChainCall(opts *bind.TransactOpts, target common.Address, zrc20 common.Address, ...) (*types.Transaction, error)
- func (_SystemContractMock *SystemContractMockTransactor) SetGasCoinZRC20(opts *bind.TransactOpts, chainID *big.Int, zrc20 common.Address) (*types.Transaction, error)
- func (_SystemContractMock *SystemContractMockTransactor) SetGasPrice(opts *bind.TransactOpts, chainID *big.Int, price *big.Int) (*types.Transaction, error)
- func (_SystemContractMock *SystemContractMockTransactor) SetWZETAContractAddress(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)
- type SystemContractMockTransactorRaw
- type SystemContractMockTransactorSession
- func (_SystemContractMock *SystemContractMockTransactorSession) OnCrossChainCall(target common.Address, zrc20 common.Address, amount *big.Int, message []byte) (*types.Transaction, error)
- func (_SystemContractMock *SystemContractMockTransactorSession) SetGasCoinZRC20(chainID *big.Int, zrc20 common.Address) (*types.Transaction, error)
- func (_SystemContractMock *SystemContractMockTransactorSession) SetGasPrice(chainID *big.Int, price *big.Int) (*types.Transaction, error)
- func (_SystemContractMock *SystemContractMockTransactorSession) SetWZETAContractAddress(addr common.Address) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
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\"}]",
}
SystemContractErrorsMetaData contains all meta data concerning the SystemContractErrors contract.
var SystemContractMockABI = SystemContractMockMetaData.ABI
SystemContractMockABI is the input ABI used to generate the binding from. Deprecated: Use SystemContractMockMetaData.ABI instead.
var SystemContractMockBin = SystemContractMockMetaData.Bin
SystemContractMockBin is the compiled bytecode used for deploying new contracts. Deprecated: Use SystemContractMockMetaData.Bin instead.
var SystemContractMockMetaData = &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\"},{\"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\":[{\"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\":\"target\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"zrc20\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"}],\"name\":\"onCrossChainCall\",\"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\":\"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\"}]",
Bin: "0x60806040523480156200001157600080fd5b50604051620010d7380380620010d7833981810160405281019062000037919062000146565b82600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f80699e81136d69cb8367ad52a994e25c722a86da654b561d0c14b61a777e7ac560405160405180910390a1505050620001f5565b6000815190506200014081620001db565b92915050565b600080600060608486031215620001625762000161620001d6565b5b600062000172868287016200012f565b935050602062000185868287016200012f565b925050604062000198868287016200012f565b9150509250925092565b6000620001af82620001b6565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600080fd5b620001e681620001a2565b8114620001f257600080fd5b50565b610ed280620002056000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c806397770dff1161007157806397770dff14610166578063a7cb050714610182578063c63585cc1461019e578063d7fd7afb146101ce578063d936a012146101fe578063ee2815ba1461021c576100a9565b80630be15547146100ae5780633c669d55146100de578063513a9c05146100fa578063569541b91461012a578063842da36d14610148575b600080fd5b6100c860048036038101906100c3919061094d565b610238565b6040516100d59190610bce565b60405180910390f35b6100f860048036038101906100f39190610898565b61026b565b005b610114600480360381019061010f919061094d565b6103b8565b6040516101219190610bce565b60405180910390f35b6101326103eb565b60405161013f9190610bce565b60405180910390f35b610150610411565b60405161015d9190610bce565b60405180910390f35b610180600480360381019061017b9190610818565b610437565b005b61019c600480360381019061019791906109ba565b6104d4565b005b6101b860048036038101906101b39190610845565b610528565b6040516101c59190610bce565b60405180910390f35b6101e860048036038101906101e3919061094d565b61059a565b6040516101f59190610c67565b60405180910390f35b6102066105b2565b6040516102139190610bce565b60405180910390f35b6102366004803603810190610231919061097a565b6105d8565b005b60016020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060405180606001604052806040518060200160405280600081525081526020013373ffffffffffffffffffffffffffffffffffffffff1681526020014681525090508473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb87866040518363ffffffff1660e01b81526004016102ea929190610be9565b602060405180830381600087803b15801561030457600080fd5b505af1158015610318573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061033c9190610920565b508573ffffffffffffffffffffffffffffffffffffffff1663de43156e82878787876040518663ffffffff1660e01b815260040161037e959493929190610c12565b600060405180830381600087803b15801561039857600080fd5b505af11580156103ac573d6000803e3d6000fd5b50505050505050505050565b60026020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fdba79d534382d1a8ae108e4c8ecb27c6ae42ab8b91d44eedf88bd329f3868d5e600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040516104c99190610bce565b60405180910390a150565b80600080848152602001908152602001600020819055507f49f492222906ac486c3c1401fa545626df1f0c0e5a77a05597ea2ed66af9850d828260405161051c929190610cab565b60405180910390a15050565b60008060006105378585610667565b9150915085828260405160200161054f929190610b60565b60405160208183030381529060405280519060200120604051602001610576929190610b8c565b6040516020818303038152906040528051906020012060001c925050509392505050565b60006020528060005260406000206000915090505481565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b806001600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fd1b36d30f6248e97c473b4d1348ca164a4ef6759022f54a58ec200326c39c45d828260405161065b929190610c82565b60405180910390a15050565b6000808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156106d0576040517fcb1e7cfe00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161061070a57828461070d565b83835b8092508193505050600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561077c576040517f78b507da00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b9250929050565b60008135905061079281610e57565b92915050565b6000815190506107a781610e6e565b92915050565b60008083601f8401126107c3576107c2610dd3565b5b8235905067ffffffffffffffff8111156107e0576107df610dce565b5b6020830191508360018202830111156107fc576107fb610dd8565b5b9250929050565b60008135905061081281610e85565b92915050565b60006020828403121561082e5761082d610de2565b5b600061083c84828501610783565b91505092915050565b60008060006060848603121561085e5761085d610de2565b5b600061086c86828701610783565b935050602061087d86828701610783565b925050604061088e86828701610783565b9150509250925092565b6000806000806000608086880312156108b4576108b3610de2565b5b60006108c288828901610783565b95505060206108d388828901610783565b94505060406108e488828901610803565b935050606086013567ffffffffffffffff81111561090557610904610ddd565b5b610911888289016107ad565b92509250509295509295909350565b60006020828403121561093657610935610de2565b5b600061094484828501610798565b91505092915050565b60006020828403121561096357610962610de2565b5b600061097184828501610803565b91505092915050565b6000806040838503121561099157610990610de2565b5b600061099f85828601610803565b92505060206109b085828601610783565b9150509250929050565b600080604083850312156109d1576109d0610de2565b5b60006109df85828601610803565b92505060206109f085828601610803565b9150509250929050565b610a0381610d0c565b82525050565b610a1281610d0c565b82525050565b610a29610a2482610d0c565b610da0565b82525050565b610a40610a3b82610d2a565b610db2565b82525050565b6000610a528385610cf0565b9350610a5f838584610d5e565b610a6883610de7565b840190509392505050565b6000610a7e82610cd4565b610a888185610cdf565b9350610a98818560208601610d6d565b610aa181610de7565b840191505092915050565b6000610ab9602083610d01565b9150610ac482610e05565b602082019050919050565b6000610adc600183610d01565b9150610ae782610e2e565b600182019050919050565b60006060830160008301518482036000860152610b0f8282610a73565b9150506020830151610b2460208601826109fa565b506040830151610b376040860182610b42565b508091505092915050565b610b4b81610d54565b82525050565b610b5a81610d54565b82525050565b6000610b6c8285610a18565b601482019150610b7c8284610a18565b6014820191508190509392505050565b6000610b9782610acf565b9150610ba38285610a18565b601482019150610bb38284610a2f565b602082019150610bc282610aac565b91508190509392505050565b6000602082019050610be36000830184610a09565b92915050565b6000604082019050610bfe6000830185610a09565b610c0b6020830184610b51565b9392505050565b60006080820190508181036000830152610c2c8188610af2565b9050610c3b6020830187610a09565b610c486040830186610b51565b8181036060830152610c5b818486610a46565b90509695505050505050565b6000602082019050610c7c6000830184610b51565b92915050565b6000604082019050610c976000830185610b51565b610ca46020830184610a09565b9392505050565b6000604082019050610cc06000830185610b51565b610ccd6020830184610b51565b9392505050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000610d1782610d34565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015610d8b578082015181840152602081019050610d70565b83811115610d9a576000848401525b50505050565b6000610dab82610dbc565b9050919050565b6000819050919050565b6000610dc782610df8565b9050919050565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f600082015250565b7fff00000000000000000000000000000000000000000000000000000000000000600082015250565b610e6081610d0c565b8114610e6b57600080fd5b50565b610e7781610d1e565b8114610e8257600080fd5b50565b610e8e81610d54565b8114610e9957600080fd5b5056fea26469706673582212200835245fdc75aa593111cf5a43e919740b2258e1512040bc79f39a56cedf119364736f6c63430008070033",
}
SystemContractMockMetaData contains all meta data concerning the SystemContractMock contract.
Functions ¶
This section is empty.
Types ¶
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 SystemContractMock ¶
type SystemContractMock struct { SystemContractMockCaller // Read-only binding to the contract SystemContractMockTransactor // Write-only binding to the contract SystemContractMockFilterer // Log filterer for contract events }
SystemContractMock is an auto generated Go binding around an Ethereum contract.
func DeploySystemContractMock ¶
func DeploySystemContractMock(auth *bind.TransactOpts, backend bind.ContractBackend, wzeta_ common.Address, uniswapv2Factory_ common.Address, uniswapv2Router02_ common.Address) (common.Address, *types.Transaction, *SystemContractMock, error)
DeploySystemContractMock deploys a new Ethereum contract, binding an instance of SystemContractMock to it.
func NewSystemContractMock ¶
func NewSystemContractMock(address common.Address, backend bind.ContractBackend) (*SystemContractMock, error)
NewSystemContractMock creates a new instance of SystemContractMock, bound to a specific deployed contract.
type SystemContractMockCaller ¶
type SystemContractMockCaller struct {
// contains filtered or unexported fields
}
SystemContractMockCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSystemContractMockCaller ¶
func NewSystemContractMockCaller(address common.Address, caller bind.ContractCaller) (*SystemContractMockCaller, error)
NewSystemContractMockCaller creates a new read-only instance of SystemContractMock, bound to a specific deployed contract.
func (*SystemContractMockCaller) GasCoinZRC20ByChainId ¶
func (_SystemContractMock *SystemContractMockCaller) 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 (*SystemContractMockCaller) GasPriceByChainId ¶
func (_SystemContractMock *SystemContractMockCaller) 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 (*SystemContractMockCaller) GasZetaPoolByChainId ¶
func (_SystemContractMock *SystemContractMockCaller) 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 (*SystemContractMockCaller) Uniswapv2FactoryAddress ¶
func (_SystemContractMock *SystemContractMockCaller) 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 (*SystemContractMockCaller) Uniswapv2PairFor ¶
func (_SystemContractMock *SystemContractMockCaller) 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 (*SystemContractMockCaller) Uniswapv2Router02Address ¶
func (_SystemContractMock *SystemContractMockCaller) 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 (*SystemContractMockCaller) WZetaContractAddress ¶
func (_SystemContractMock *SystemContractMockCaller) 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)
type SystemContractMockCallerRaw ¶
type SystemContractMockCallerRaw struct {
Contract *SystemContractMockCaller // Generic read-only contract binding to access the raw methods on
}
SystemContractMockCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SystemContractMockCallerRaw) Call ¶
func (_SystemContractMock *SystemContractMockCallerRaw) 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 SystemContractMockCallerSession ¶
type SystemContractMockCallerSession struct { Contract *SystemContractMockCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SystemContractMockCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*SystemContractMockCallerSession) GasCoinZRC20ByChainId ¶
func (_SystemContractMock *SystemContractMockCallerSession) 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 (*SystemContractMockCallerSession) GasPriceByChainId ¶
func (_SystemContractMock *SystemContractMockCallerSession) 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 (*SystemContractMockCallerSession) GasZetaPoolByChainId ¶
func (_SystemContractMock *SystemContractMockCallerSession) 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 (*SystemContractMockCallerSession) Uniswapv2FactoryAddress ¶
func (_SystemContractMock *SystemContractMockCallerSession) Uniswapv2FactoryAddress() (common.Address, error)
Uniswapv2FactoryAddress is a free data retrieval call binding the contract method 0xd936a012.
Solidity: function uniswapv2FactoryAddress() view returns(address)
func (*SystemContractMockCallerSession) Uniswapv2PairFor ¶
func (_SystemContractMock *SystemContractMockCallerSession) 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 (*SystemContractMockCallerSession) Uniswapv2Router02Address ¶
func (_SystemContractMock *SystemContractMockCallerSession) Uniswapv2Router02Address() (common.Address, error)
Uniswapv2Router02Address is a free data retrieval call binding the contract method 0x842da36d.
Solidity: function uniswapv2Router02Address() view returns(address)
func (*SystemContractMockCallerSession) WZetaContractAddress ¶
func (_SystemContractMock *SystemContractMockCallerSession) WZetaContractAddress() (common.Address, error)
WZetaContractAddress is a free data retrieval call binding the contract method 0x569541b9.
Solidity: function wZetaContractAddress() view returns(address)
type SystemContractMockFilterer ¶
type SystemContractMockFilterer struct {
// contains filtered or unexported fields
}
SystemContractMockFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSystemContractMockFilterer ¶
func NewSystemContractMockFilterer(address common.Address, filterer bind.ContractFilterer) (*SystemContractMockFilterer, error)
NewSystemContractMockFilterer creates a new log filterer instance of SystemContractMock, bound to a specific deployed contract.
func (*SystemContractMockFilterer) FilterSetGasCoin ¶
func (_SystemContractMock *SystemContractMockFilterer) FilterSetGasCoin(opts *bind.FilterOpts) (*SystemContractMockSetGasCoinIterator, error)
FilterSetGasCoin is a free log retrieval operation binding the contract event 0xd1b36d30f6248e97c473b4d1348ca164a4ef6759022f54a58ec200326c39c45d.
Solidity: event SetGasCoin(uint256 arg0, address arg1)
func (*SystemContractMockFilterer) FilterSetGasPrice ¶
func (_SystemContractMock *SystemContractMockFilterer) FilterSetGasPrice(opts *bind.FilterOpts) (*SystemContractMockSetGasPriceIterator, error)
FilterSetGasPrice is a free log retrieval operation binding the contract event 0x49f492222906ac486c3c1401fa545626df1f0c0e5a77a05597ea2ed66af9850d.
Solidity: event SetGasPrice(uint256 arg0, uint256 arg1)
func (*SystemContractMockFilterer) FilterSetGasZetaPool ¶
func (_SystemContractMock *SystemContractMockFilterer) FilterSetGasZetaPool(opts *bind.FilterOpts) (*SystemContractMockSetGasZetaPoolIterator, error)
FilterSetGasZetaPool is a free log retrieval operation binding the contract event 0x0ecec485166da6139b13bb7e033e9446e2d35348e80ebf1180d4afe2dba1704e.
Solidity: event SetGasZetaPool(uint256 arg0, address arg1)
func (*SystemContractMockFilterer) FilterSetWZeta ¶
func (_SystemContractMock *SystemContractMockFilterer) FilterSetWZeta(opts *bind.FilterOpts) (*SystemContractMockSetWZetaIterator, error)
FilterSetWZeta is a free log retrieval operation binding the contract event 0xdba79d534382d1a8ae108e4c8ecb27c6ae42ab8b91d44eedf88bd329f3868d5e.
Solidity: event SetWZeta(address arg0)
func (*SystemContractMockFilterer) FilterSystemContractDeployed ¶
func (_SystemContractMock *SystemContractMockFilterer) FilterSystemContractDeployed(opts *bind.FilterOpts) (*SystemContractMockSystemContractDeployedIterator, error)
FilterSystemContractDeployed is a free log retrieval operation binding the contract event 0x80699e81136d69cb8367ad52a994e25c722a86da654b561d0c14b61a777e7ac5.
Solidity: event SystemContractDeployed()
func (*SystemContractMockFilterer) ParseSetGasCoin ¶
func (_SystemContractMock *SystemContractMockFilterer) ParseSetGasCoin(log types.Log) (*SystemContractMockSetGasCoin, error)
ParseSetGasCoin is a log parse operation binding the contract event 0xd1b36d30f6248e97c473b4d1348ca164a4ef6759022f54a58ec200326c39c45d.
Solidity: event SetGasCoin(uint256 arg0, address arg1)
func (*SystemContractMockFilterer) ParseSetGasPrice ¶
func (_SystemContractMock *SystemContractMockFilterer) ParseSetGasPrice(log types.Log) (*SystemContractMockSetGasPrice, error)
ParseSetGasPrice is a log parse operation binding the contract event 0x49f492222906ac486c3c1401fa545626df1f0c0e5a77a05597ea2ed66af9850d.
Solidity: event SetGasPrice(uint256 arg0, uint256 arg1)
func (*SystemContractMockFilterer) ParseSetGasZetaPool ¶
func (_SystemContractMock *SystemContractMockFilterer) ParseSetGasZetaPool(log types.Log) (*SystemContractMockSetGasZetaPool, error)
ParseSetGasZetaPool is a log parse operation binding the contract event 0x0ecec485166da6139b13bb7e033e9446e2d35348e80ebf1180d4afe2dba1704e.
Solidity: event SetGasZetaPool(uint256 arg0, address arg1)
func (*SystemContractMockFilterer) ParseSetWZeta ¶
func (_SystemContractMock *SystemContractMockFilterer) ParseSetWZeta(log types.Log) (*SystemContractMockSetWZeta, error)
ParseSetWZeta is a log parse operation binding the contract event 0xdba79d534382d1a8ae108e4c8ecb27c6ae42ab8b91d44eedf88bd329f3868d5e.
Solidity: event SetWZeta(address arg0)
func (*SystemContractMockFilterer) ParseSystemContractDeployed ¶
func (_SystemContractMock *SystemContractMockFilterer) ParseSystemContractDeployed(log types.Log) (*SystemContractMockSystemContractDeployed, error)
ParseSystemContractDeployed is a log parse operation binding the contract event 0x80699e81136d69cb8367ad52a994e25c722a86da654b561d0c14b61a777e7ac5.
Solidity: event SystemContractDeployed()
func (*SystemContractMockFilterer) WatchSetGasCoin ¶
func (_SystemContractMock *SystemContractMockFilterer) WatchSetGasCoin(opts *bind.WatchOpts, sink chan<- *SystemContractMockSetGasCoin) (event.Subscription, error)
WatchSetGasCoin is a free log subscription operation binding the contract event 0xd1b36d30f6248e97c473b4d1348ca164a4ef6759022f54a58ec200326c39c45d.
Solidity: event SetGasCoin(uint256 arg0, address arg1)
func (*SystemContractMockFilterer) WatchSetGasPrice ¶
func (_SystemContractMock *SystemContractMockFilterer) WatchSetGasPrice(opts *bind.WatchOpts, sink chan<- *SystemContractMockSetGasPrice) (event.Subscription, error)
WatchSetGasPrice is a free log subscription operation binding the contract event 0x49f492222906ac486c3c1401fa545626df1f0c0e5a77a05597ea2ed66af9850d.
Solidity: event SetGasPrice(uint256 arg0, uint256 arg1)
func (*SystemContractMockFilterer) WatchSetGasZetaPool ¶
func (_SystemContractMock *SystemContractMockFilterer) WatchSetGasZetaPool(opts *bind.WatchOpts, sink chan<- *SystemContractMockSetGasZetaPool) (event.Subscription, error)
WatchSetGasZetaPool is a free log subscription operation binding the contract event 0x0ecec485166da6139b13bb7e033e9446e2d35348e80ebf1180d4afe2dba1704e.
Solidity: event SetGasZetaPool(uint256 arg0, address arg1)
func (*SystemContractMockFilterer) WatchSetWZeta ¶
func (_SystemContractMock *SystemContractMockFilterer) WatchSetWZeta(opts *bind.WatchOpts, sink chan<- *SystemContractMockSetWZeta) (event.Subscription, error)
WatchSetWZeta is a free log subscription operation binding the contract event 0xdba79d534382d1a8ae108e4c8ecb27c6ae42ab8b91d44eedf88bd329f3868d5e.
Solidity: event SetWZeta(address arg0)
func (*SystemContractMockFilterer) WatchSystemContractDeployed ¶
func (_SystemContractMock *SystemContractMockFilterer) WatchSystemContractDeployed(opts *bind.WatchOpts, sink chan<- *SystemContractMockSystemContractDeployed) (event.Subscription, error)
WatchSystemContractDeployed is a free log subscription operation binding the contract event 0x80699e81136d69cb8367ad52a994e25c722a86da654b561d0c14b61a777e7ac5.
Solidity: event SystemContractDeployed()
type SystemContractMockRaw ¶
type SystemContractMockRaw struct {
Contract *SystemContractMock // Generic contract binding to access the raw methods on
}
SystemContractMockRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SystemContractMockRaw) Call ¶
func (_SystemContractMock *SystemContractMockRaw) 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 (*SystemContractMockRaw) Transact ¶
func (_SystemContractMock *SystemContractMockRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SystemContractMockRaw) Transfer ¶
func (_SystemContractMock *SystemContractMockRaw) 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 SystemContractMockSession ¶
type SystemContractMockSession struct { Contract *SystemContractMock // 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 }
SystemContractMockSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*SystemContractMockSession) GasCoinZRC20ByChainId ¶
func (_SystemContractMock *SystemContractMockSession) 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 (*SystemContractMockSession) GasPriceByChainId ¶
func (_SystemContractMock *SystemContractMockSession) 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 (*SystemContractMockSession) GasZetaPoolByChainId ¶
func (_SystemContractMock *SystemContractMockSession) 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 (*SystemContractMockSession) OnCrossChainCall ¶
func (_SystemContractMock *SystemContractMockSession) OnCrossChainCall(target common.Address, zrc20 common.Address, amount *big.Int, message []byte) (*types.Transaction, error)
OnCrossChainCall is a paid mutator transaction binding the contract method 0x3c669d55.
Solidity: function onCrossChainCall(address target, address zrc20, uint256 amount, bytes message) returns()
func (*SystemContractMockSession) SetGasCoinZRC20 ¶
func (_SystemContractMock *SystemContractMockSession) 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 (*SystemContractMockSession) SetGasPrice ¶
func (_SystemContractMock *SystemContractMockSession) 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 (*SystemContractMockSession) SetWZETAContractAddress ¶
func (_SystemContractMock *SystemContractMockSession) 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 (*SystemContractMockSession) Uniswapv2FactoryAddress ¶
func (_SystemContractMock *SystemContractMockSession) Uniswapv2FactoryAddress() (common.Address, error)
Uniswapv2FactoryAddress is a free data retrieval call binding the contract method 0xd936a012.
Solidity: function uniswapv2FactoryAddress() view returns(address)
func (*SystemContractMockSession) Uniswapv2PairFor ¶
func (_SystemContractMock *SystemContractMockSession) 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 (*SystemContractMockSession) Uniswapv2Router02Address ¶
func (_SystemContractMock *SystemContractMockSession) Uniswapv2Router02Address() (common.Address, error)
Uniswapv2Router02Address is a free data retrieval call binding the contract method 0x842da36d.
Solidity: function uniswapv2Router02Address() view returns(address)
func (*SystemContractMockSession) WZetaContractAddress ¶
func (_SystemContractMock *SystemContractMockSession) WZetaContractAddress() (common.Address, error)
WZetaContractAddress is a free data retrieval call binding the contract method 0x569541b9.
Solidity: function wZetaContractAddress() view returns(address)
type SystemContractMockSetGasCoin ¶
type SystemContractMockSetGasCoin struct { Arg0 *big.Int Arg1 common.Address Raw types.Log // Blockchain specific contextual infos }
SystemContractMockSetGasCoin represents a SetGasCoin event raised by the SystemContractMock contract.
type SystemContractMockSetGasCoinIterator ¶
type SystemContractMockSetGasCoinIterator struct { Event *SystemContractMockSetGasCoin // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SystemContractMockSetGasCoinIterator is returned from FilterSetGasCoin and is used to iterate over the raw logs and unpacked data for SetGasCoin events raised by the SystemContractMock contract.
func (*SystemContractMockSetGasCoinIterator) Close ¶
func (it *SystemContractMockSetGasCoinIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SystemContractMockSetGasCoinIterator) Error ¶
func (it *SystemContractMockSetGasCoinIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SystemContractMockSetGasCoinIterator) Next ¶
func (it *SystemContractMockSetGasCoinIterator) 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 SystemContractMockSetGasPrice ¶
type SystemContractMockSetGasPrice struct { Arg0 *big.Int Arg1 *big.Int Raw types.Log // Blockchain specific contextual infos }
SystemContractMockSetGasPrice represents a SetGasPrice event raised by the SystemContractMock contract.
type SystemContractMockSetGasPriceIterator ¶
type SystemContractMockSetGasPriceIterator struct { Event *SystemContractMockSetGasPrice // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SystemContractMockSetGasPriceIterator is returned from FilterSetGasPrice and is used to iterate over the raw logs and unpacked data for SetGasPrice events raised by the SystemContractMock contract.
func (*SystemContractMockSetGasPriceIterator) Close ¶
func (it *SystemContractMockSetGasPriceIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SystemContractMockSetGasPriceIterator) Error ¶
func (it *SystemContractMockSetGasPriceIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SystemContractMockSetGasPriceIterator) Next ¶
func (it *SystemContractMockSetGasPriceIterator) 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 SystemContractMockSetGasZetaPool ¶
type SystemContractMockSetGasZetaPool struct { Arg0 *big.Int Arg1 common.Address Raw types.Log // Blockchain specific contextual infos }
SystemContractMockSetGasZetaPool represents a SetGasZetaPool event raised by the SystemContractMock contract.
type SystemContractMockSetGasZetaPoolIterator ¶
type SystemContractMockSetGasZetaPoolIterator struct { Event *SystemContractMockSetGasZetaPool // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SystemContractMockSetGasZetaPoolIterator is returned from FilterSetGasZetaPool and is used to iterate over the raw logs and unpacked data for SetGasZetaPool events raised by the SystemContractMock contract.
func (*SystemContractMockSetGasZetaPoolIterator) Close ¶
func (it *SystemContractMockSetGasZetaPoolIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SystemContractMockSetGasZetaPoolIterator) Error ¶
func (it *SystemContractMockSetGasZetaPoolIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SystemContractMockSetGasZetaPoolIterator) Next ¶
func (it *SystemContractMockSetGasZetaPoolIterator) 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 SystemContractMockSetWZeta ¶
type SystemContractMockSetWZeta struct { Arg0 common.Address Raw types.Log // Blockchain specific contextual infos }
SystemContractMockSetWZeta represents a SetWZeta event raised by the SystemContractMock contract.
type SystemContractMockSetWZetaIterator ¶
type SystemContractMockSetWZetaIterator struct { Event *SystemContractMockSetWZeta // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SystemContractMockSetWZetaIterator is returned from FilterSetWZeta and is used to iterate over the raw logs and unpacked data for SetWZeta events raised by the SystemContractMock contract.
func (*SystemContractMockSetWZetaIterator) Close ¶
func (it *SystemContractMockSetWZetaIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SystemContractMockSetWZetaIterator) Error ¶
func (it *SystemContractMockSetWZetaIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SystemContractMockSetWZetaIterator) Next ¶
func (it *SystemContractMockSetWZetaIterator) 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 SystemContractMockSystemContractDeployed ¶
type SystemContractMockSystemContractDeployed struct {
Raw types.Log // Blockchain specific contextual infos
}
SystemContractMockSystemContractDeployed represents a SystemContractDeployed event raised by the SystemContractMock contract.
type SystemContractMockSystemContractDeployedIterator ¶
type SystemContractMockSystemContractDeployedIterator struct { Event *SystemContractMockSystemContractDeployed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SystemContractMockSystemContractDeployedIterator is returned from FilterSystemContractDeployed and is used to iterate over the raw logs and unpacked data for SystemContractDeployed events raised by the SystemContractMock contract.
func (*SystemContractMockSystemContractDeployedIterator) Close ¶
func (it *SystemContractMockSystemContractDeployedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SystemContractMockSystemContractDeployedIterator) Error ¶
func (it *SystemContractMockSystemContractDeployedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SystemContractMockSystemContractDeployedIterator) Next ¶
func (it *SystemContractMockSystemContractDeployedIterator) 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 SystemContractMockTransactor ¶
type SystemContractMockTransactor struct {
// contains filtered or unexported fields
}
SystemContractMockTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSystemContractMockTransactor ¶
func NewSystemContractMockTransactor(address common.Address, transactor bind.ContractTransactor) (*SystemContractMockTransactor, error)
NewSystemContractMockTransactor creates a new write-only instance of SystemContractMock, bound to a specific deployed contract.
func (*SystemContractMockTransactor) OnCrossChainCall ¶
func (_SystemContractMock *SystemContractMockTransactor) OnCrossChainCall(opts *bind.TransactOpts, target common.Address, zrc20 common.Address, amount *big.Int, message []byte) (*types.Transaction, error)
OnCrossChainCall is a paid mutator transaction binding the contract method 0x3c669d55.
Solidity: function onCrossChainCall(address target, address zrc20, uint256 amount, bytes message) returns()
func (*SystemContractMockTransactor) SetGasCoinZRC20 ¶
func (_SystemContractMock *SystemContractMockTransactor) 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 (*SystemContractMockTransactor) SetGasPrice ¶
func (_SystemContractMock *SystemContractMockTransactor) 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 (*SystemContractMockTransactor) SetWZETAContractAddress ¶
func (_SystemContractMock *SystemContractMockTransactor) 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 SystemContractMockTransactorRaw ¶
type SystemContractMockTransactorRaw struct {
Contract *SystemContractMockTransactor // Generic write-only contract binding to access the raw methods on
}
SystemContractMockTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SystemContractMockTransactorRaw) Transact ¶
func (_SystemContractMock *SystemContractMockTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SystemContractMockTransactorRaw) Transfer ¶
func (_SystemContractMock *SystemContractMockTransactorRaw) 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 SystemContractMockTransactorSession ¶
type SystemContractMockTransactorSession struct { Contract *SystemContractMockTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SystemContractMockTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*SystemContractMockTransactorSession) OnCrossChainCall ¶
func (_SystemContractMock *SystemContractMockTransactorSession) OnCrossChainCall(target common.Address, zrc20 common.Address, amount *big.Int, message []byte) (*types.Transaction, error)
OnCrossChainCall is a paid mutator transaction binding the contract method 0x3c669d55.
Solidity: function onCrossChainCall(address target, address zrc20, uint256 amount, bytes message) returns()
func (*SystemContractMockTransactorSession) SetGasCoinZRC20 ¶
func (_SystemContractMock *SystemContractMockTransactorSession) 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 (*SystemContractMockTransactorSession) SetGasPrice ¶
func (_SystemContractMock *SystemContractMockTransactorSession) 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 (*SystemContractMockTransactorSession) SetWZETAContractAddress ¶
func (_SystemContractMock *SystemContractMockTransactorSession) SetWZETAContractAddress(addr common.Address) (*types.Transaction, error)
SetWZETAContractAddress is a paid mutator transaction binding the contract method 0x97770dff.
Solidity: function setWZETAContractAddress(address addr) returns()