Documentation ¶
Index ¶
- Constants
- Variables
- type CrossFee
- type CrossFeeCaller
- func (_CrossFee *CrossFeeCaller) CalCrossFee(opts *bind.CallOpts, resourceId [32]byte, inputAmount *big.Int, ...) (struct{ ... }, error)
- func (_CrossFee *CrossFeeCaller) CrossInGas(opts *bind.CallOpts) (*big.Int, error)
- func (_CrossFee *CrossFeeCaller) EstimateFee(opts *bind.CallOpts, resourceId [32]byte, inputAmount *big.Int) (*big.Int, error)
- func (_CrossFee *CrossFeeCaller) MAXGASPRICE(opts *bind.CallOpts) (*big.Int, error)
- func (_CrossFee *CrossFeeCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_CrossFee *CrossFeeCaller) ResourceToDefalutGasFee(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)
- func (_CrossFee *CrossFeeCaller) ResourceToFeeRate(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)
- func (_CrossFee *CrossFeeCaller) ResourceToTokenAddrss(opts *bind.CallOpts, arg0 [32]byte) (common.Address, error)
- func (_CrossFee *CrossFeeCaller) UniFactory(opts *bind.CallOpts) (common.Address, error)
- func (_CrossFee *CrossFeeCaller) Weth(opts *bind.CallOpts) (common.Address, error)
- type CrossFeeCallerRaw
- type CrossFeeCallerSession
- func (_CrossFee *CrossFeeCallerSession) CalCrossFee(resourceId [32]byte, inputAmount *big.Int, gasPrice *big.Int) (struct{ ... }, error)
- func (_CrossFee *CrossFeeCallerSession) CrossInGas() (*big.Int, error)
- func (_CrossFee *CrossFeeCallerSession) EstimateFee(resourceId [32]byte, inputAmount *big.Int) (*big.Int, error)
- func (_CrossFee *CrossFeeCallerSession) MAXGASPRICE() (*big.Int, error)
- func (_CrossFee *CrossFeeCallerSession) Owner() (common.Address, error)
- func (_CrossFee *CrossFeeCallerSession) ResourceToDefalutGasFee(arg0 [32]byte) (*big.Int, error)
- func (_CrossFee *CrossFeeCallerSession) ResourceToFeeRate(arg0 [32]byte) (*big.Int, error)
- func (_CrossFee *CrossFeeCallerSession) ResourceToTokenAddrss(arg0 [32]byte) (common.Address, error)
- func (_CrossFee *CrossFeeCallerSession) UniFactory() (common.Address, error)
- func (_CrossFee *CrossFeeCallerSession) Weth() (common.Address, error)
- type CrossFeeFilterer
- type CrossFeeRaw
- func (_CrossFee *CrossFeeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_CrossFee *CrossFeeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_CrossFee *CrossFeeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type CrossFeeSession
- func (_CrossFee *CrossFeeSession) CalCrossFee(resourceId [32]byte, inputAmount *big.Int, gasPrice *big.Int) (struct{ ... }, error)
- func (_CrossFee *CrossFeeSession) CrossInGas() (*big.Int, error)
- func (_CrossFee *CrossFeeSession) EstimateFee(resourceId [32]byte, inputAmount *big.Int) (*big.Int, error)
- func (_CrossFee *CrossFeeSession) MAXGASPRICE() (*big.Int, error)
- func (_CrossFee *CrossFeeSession) Owner() (common.Address, error)
- func (_CrossFee *CrossFeeSession) ResourceToDefalutGasFee(arg0 [32]byte) (*big.Int, error)
- func (_CrossFee *CrossFeeSession) ResourceToFeeRate(arg0 [32]byte) (*big.Int, error)
- func (_CrossFee *CrossFeeSession) ResourceToTokenAddrss(arg0 [32]byte) (common.Address, error)
- func (_CrossFee *CrossFeeSession) SetCorssFeeRate(resourceId [32]byte, feeRate_ *big.Int) (*types.Transaction, error)
- func (_CrossFee *CrossFeeSession) SetCrossInGas(crossInGas_ *big.Int) (*types.Transaction, error)
- func (_CrossFee *CrossFeeSession) SetDefaultGasFee(resourceId [32]byte, gasFee_ *big.Int) (*types.Transaction, error)
- func (_CrossFee *CrossFeeSession) SetMaxGasPrice(max_ *big.Int) (*types.Transaction, error)
- func (_CrossFee *CrossFeeSession) SetResource(resourceId [32]byte, tokenAddress common.Address, defaltGasFee *big.Int, ...) (*types.Transaction, error)
- func (_CrossFee *CrossFeeSession) SetUni(uni_ common.Address) (*types.Transaction, error)
- func (_CrossFee *CrossFeeSession) SetWETH(weth_ common.Address) (*types.Transaction, error)
- func (_CrossFee *CrossFeeSession) UniFactory() (common.Address, error)
- func (_CrossFee *CrossFeeSession) Weth() (common.Address, error)
- type CrossFeeTransactor
- func (_CrossFee *CrossFeeTransactor) SetCorssFeeRate(opts *bind.TransactOpts, resourceId [32]byte, feeRate_ *big.Int) (*types.Transaction, error)
- func (_CrossFee *CrossFeeTransactor) SetCrossInGas(opts *bind.TransactOpts, crossInGas_ *big.Int) (*types.Transaction, error)
- func (_CrossFee *CrossFeeTransactor) SetDefaultGasFee(opts *bind.TransactOpts, resourceId [32]byte, gasFee_ *big.Int) (*types.Transaction, error)
- func (_CrossFee *CrossFeeTransactor) SetMaxGasPrice(opts *bind.TransactOpts, max_ *big.Int) (*types.Transaction, error)
- func (_CrossFee *CrossFeeTransactor) SetResource(opts *bind.TransactOpts, resourceId [32]byte, tokenAddress common.Address, ...) (*types.Transaction, error)
- func (_CrossFee *CrossFeeTransactor) SetUni(opts *bind.TransactOpts, uni_ common.Address) (*types.Transaction, error)
- func (_CrossFee *CrossFeeTransactor) SetWETH(opts *bind.TransactOpts, weth_ common.Address) (*types.Transaction, error)
- type CrossFeeTransactorRaw
- type CrossFeeTransactorSession
- func (_CrossFee *CrossFeeTransactorSession) SetCorssFeeRate(resourceId [32]byte, feeRate_ *big.Int) (*types.Transaction, error)
- func (_CrossFee *CrossFeeTransactorSession) SetCrossInGas(crossInGas_ *big.Int) (*types.Transaction, error)
- func (_CrossFee *CrossFeeTransactorSession) SetDefaultGasFee(resourceId [32]byte, gasFee_ *big.Int) (*types.Transaction, error)
- func (_CrossFee *CrossFeeTransactorSession) SetMaxGasPrice(max_ *big.Int) (*types.Transaction, error)
- func (_CrossFee *CrossFeeTransactorSession) SetResource(resourceId [32]byte, tokenAddress common.Address, defaltGasFee *big.Int, ...) (*types.Transaction, error)
- func (_CrossFee *CrossFeeTransactorSession) SetUni(uni_ common.Address) (*types.Transaction, error)
- func (_CrossFee *CrossFeeTransactorSession) SetWETH(weth_ common.Address) (*types.Transaction, error)
Constants ¶
const CrossFeeABI = "" /* 4369-byte string literal not displayed */
CrossFeeABI is the input ABI used to generate the binding from.
Variables ¶
var CrossFeeBin = "" /* 13596-byte string literal not displayed */
CrossFeeBin is the compiled bytecode used for deploying new contracts.
Functions ¶
This section is empty.
Types ¶
type CrossFee ¶
type CrossFee struct { CrossFeeCaller // Read-only binding to the contract CrossFeeTransactor // Write-only binding to the contract CrossFeeFilterer // Log filterer for contract events }
CrossFee is an auto generated Go binding around an Ethereum contract.
func DeployCrossFee ¶
func DeployCrossFee(auth *bind.TransactOpts, backend bind.ContractBackend, weth_ common.Address, uni_ common.Address, crossInGas_ *big.Int) (common.Address, *types.Transaction, *CrossFee, error)
DeployCrossFee deploys a new Ethereum contract, binding an instance of CrossFee to it.
func NewCrossFee ¶
NewCrossFee creates a new instance of CrossFee, bound to a specific deployed contract.
type CrossFeeCaller ¶
type CrossFeeCaller struct {
// contains filtered or unexported fields
}
CrossFeeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewCrossFeeCaller ¶
func NewCrossFeeCaller(address common.Address, caller bind.ContractCaller) (*CrossFeeCaller, error)
NewCrossFeeCaller creates a new read-only instance of CrossFee, bound to a specific deployed contract.
func (*CrossFeeCaller) CalCrossFee ¶
func (_CrossFee *CrossFeeCaller) CalCrossFee(opts *bind.CallOpts, resourceId [32]byte, inputAmount *big.Int, gasPrice *big.Int) (struct { RelayerFee *big.Int GasFee *big.Int }, error)
CalCrossFee is a free data retrieval call binding the contract method 0x171cb896.
Solidity: function calCrossFee(bytes32 resourceId, uint256 inputAmount, uint256 gasPrice) view returns(uint256 relayerFee, uint256 gasFee)
func (*CrossFeeCaller) CrossInGas ¶
CrossInGas is a free data retrieval call binding the contract method 0x69213d03.
Solidity: function crossInGas() view returns(uint256)
func (*CrossFeeCaller) EstimateFee ¶
func (_CrossFee *CrossFeeCaller) EstimateFee(opts *bind.CallOpts, resourceId [32]byte, inputAmount *big.Int) (*big.Int, error)
EstimateFee is a free data retrieval call binding the contract method 0x92c212d8.
Solidity: function estimateFee(bytes32 resourceId, uint256 inputAmount) view returns(uint256 fee)
func (*CrossFeeCaller) MAXGASPRICE ¶
MAXGASPRICE is a free data retrieval call binding the contract method 0xe3bbb4f1.
Solidity: function MAX_GAS_PRICE() view returns(uint256)
func (*CrossFeeCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*CrossFeeCaller) ResourceToDefalutGasFee ¶
func (_CrossFee *CrossFeeCaller) ResourceToDefalutGasFee(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)
ResourceToDefalutGasFee is a free data retrieval call binding the contract method 0xa8e31a68.
Solidity: function resourceToDefalutGasFee(bytes32 ) view returns(uint256)
func (*CrossFeeCaller) ResourceToFeeRate ¶
func (_CrossFee *CrossFeeCaller) ResourceToFeeRate(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)
ResourceToFeeRate is a free data retrieval call binding the contract method 0x0100a555.
Solidity: function resourceToFeeRate(bytes32 ) view returns(uint256)
func (*CrossFeeCaller) ResourceToTokenAddrss ¶
func (_CrossFee *CrossFeeCaller) ResourceToTokenAddrss(opts *bind.CallOpts, arg0 [32]byte) (common.Address, error)
ResourceToTokenAddrss is a free data retrieval call binding the contract method 0xeab44ff6.
Solidity: function resourceToTokenAddrss(bytes32 ) view returns(address)
func (*CrossFeeCaller) UniFactory ¶
UniFactory is a free data retrieval call binding the contract method 0xd702ffd0.
Solidity: function uni_factory() view returns(address)
type CrossFeeCallerRaw ¶
type CrossFeeCallerRaw struct {
Contract *CrossFeeCaller // Generic read-only contract binding to access the raw methods on
}
CrossFeeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*CrossFeeCallerRaw) Call ¶
func (_CrossFee *CrossFeeCallerRaw) 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 CrossFeeCallerSession ¶
type CrossFeeCallerSession struct { Contract *CrossFeeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
CrossFeeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*CrossFeeCallerSession) CalCrossFee ¶
func (_CrossFee *CrossFeeCallerSession) CalCrossFee(resourceId [32]byte, inputAmount *big.Int, gasPrice *big.Int) (struct { RelayerFee *big.Int GasFee *big.Int }, error)
CalCrossFee is a free data retrieval call binding the contract method 0x171cb896.
Solidity: function calCrossFee(bytes32 resourceId, uint256 inputAmount, uint256 gasPrice) view returns(uint256 relayerFee, uint256 gasFee)
func (*CrossFeeCallerSession) CrossInGas ¶
func (_CrossFee *CrossFeeCallerSession) CrossInGas() (*big.Int, error)
CrossInGas is a free data retrieval call binding the contract method 0x69213d03.
Solidity: function crossInGas() view returns(uint256)
func (*CrossFeeCallerSession) EstimateFee ¶
func (_CrossFee *CrossFeeCallerSession) EstimateFee(resourceId [32]byte, inputAmount *big.Int) (*big.Int, error)
EstimateFee is a free data retrieval call binding the contract method 0x92c212d8.
Solidity: function estimateFee(bytes32 resourceId, uint256 inputAmount) view returns(uint256 fee)
func (*CrossFeeCallerSession) MAXGASPRICE ¶
func (_CrossFee *CrossFeeCallerSession) MAXGASPRICE() (*big.Int, error)
MAXGASPRICE is a free data retrieval call binding the contract method 0xe3bbb4f1.
Solidity: function MAX_GAS_PRICE() view returns(uint256)
func (*CrossFeeCallerSession) Owner ¶
func (_CrossFee *CrossFeeCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*CrossFeeCallerSession) ResourceToDefalutGasFee ¶
func (_CrossFee *CrossFeeCallerSession) ResourceToDefalutGasFee(arg0 [32]byte) (*big.Int, error)
ResourceToDefalutGasFee is a free data retrieval call binding the contract method 0xa8e31a68.
Solidity: function resourceToDefalutGasFee(bytes32 ) view returns(uint256)
func (*CrossFeeCallerSession) ResourceToFeeRate ¶
func (_CrossFee *CrossFeeCallerSession) ResourceToFeeRate(arg0 [32]byte) (*big.Int, error)
ResourceToFeeRate is a free data retrieval call binding the contract method 0x0100a555.
Solidity: function resourceToFeeRate(bytes32 ) view returns(uint256)
func (*CrossFeeCallerSession) ResourceToTokenAddrss ¶
func (_CrossFee *CrossFeeCallerSession) ResourceToTokenAddrss(arg0 [32]byte) (common.Address, error)
ResourceToTokenAddrss is a free data retrieval call binding the contract method 0xeab44ff6.
Solidity: function resourceToTokenAddrss(bytes32 ) view returns(address)
func (*CrossFeeCallerSession) UniFactory ¶
func (_CrossFee *CrossFeeCallerSession) UniFactory() (common.Address, error)
UniFactory is a free data retrieval call binding the contract method 0xd702ffd0.
Solidity: function uni_factory() view returns(address)
type CrossFeeFilterer ¶
type CrossFeeFilterer struct {
// contains filtered or unexported fields
}
CrossFeeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewCrossFeeFilterer ¶
func NewCrossFeeFilterer(address common.Address, filterer bind.ContractFilterer) (*CrossFeeFilterer, error)
NewCrossFeeFilterer creates a new log filterer instance of CrossFee, bound to a specific deployed contract.
type CrossFeeRaw ¶
type CrossFeeRaw struct {
Contract *CrossFee // Generic contract binding to access the raw methods on
}
CrossFeeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*CrossFeeRaw) Call ¶
func (_CrossFee *CrossFeeRaw) 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 (*CrossFeeRaw) Transact ¶
func (_CrossFee *CrossFeeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CrossFeeRaw) Transfer ¶
func (_CrossFee *CrossFeeRaw) 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 CrossFeeSession ¶
type CrossFeeSession struct { Contract *CrossFee // 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 }
CrossFeeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*CrossFeeSession) CalCrossFee ¶
func (_CrossFee *CrossFeeSession) CalCrossFee(resourceId [32]byte, inputAmount *big.Int, gasPrice *big.Int) (struct { RelayerFee *big.Int GasFee *big.Int }, error)
CalCrossFee is a free data retrieval call binding the contract method 0x171cb896.
Solidity: function calCrossFee(bytes32 resourceId, uint256 inputAmount, uint256 gasPrice) view returns(uint256 relayerFee, uint256 gasFee)
func (*CrossFeeSession) CrossInGas ¶
func (_CrossFee *CrossFeeSession) CrossInGas() (*big.Int, error)
CrossInGas is a free data retrieval call binding the contract method 0x69213d03.
Solidity: function crossInGas() view returns(uint256)
func (*CrossFeeSession) EstimateFee ¶
func (_CrossFee *CrossFeeSession) EstimateFee(resourceId [32]byte, inputAmount *big.Int) (*big.Int, error)
EstimateFee is a free data retrieval call binding the contract method 0x92c212d8.
Solidity: function estimateFee(bytes32 resourceId, uint256 inputAmount) view returns(uint256 fee)
func (*CrossFeeSession) MAXGASPRICE ¶
func (_CrossFee *CrossFeeSession) MAXGASPRICE() (*big.Int, error)
MAXGASPRICE is a free data retrieval call binding the contract method 0xe3bbb4f1.
Solidity: function MAX_GAS_PRICE() view returns(uint256)
func (*CrossFeeSession) Owner ¶
func (_CrossFee *CrossFeeSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*CrossFeeSession) ResourceToDefalutGasFee ¶
func (_CrossFee *CrossFeeSession) ResourceToDefalutGasFee(arg0 [32]byte) (*big.Int, error)
ResourceToDefalutGasFee is a free data retrieval call binding the contract method 0xa8e31a68.
Solidity: function resourceToDefalutGasFee(bytes32 ) view returns(uint256)
func (*CrossFeeSession) ResourceToFeeRate ¶
func (_CrossFee *CrossFeeSession) ResourceToFeeRate(arg0 [32]byte) (*big.Int, error)
ResourceToFeeRate is a free data retrieval call binding the contract method 0x0100a555.
Solidity: function resourceToFeeRate(bytes32 ) view returns(uint256)
func (*CrossFeeSession) ResourceToTokenAddrss ¶
func (_CrossFee *CrossFeeSession) ResourceToTokenAddrss(arg0 [32]byte) (common.Address, error)
ResourceToTokenAddrss is a free data retrieval call binding the contract method 0xeab44ff6.
Solidity: function resourceToTokenAddrss(bytes32 ) view returns(address)
func (*CrossFeeSession) SetCorssFeeRate ¶
func (_CrossFee *CrossFeeSession) SetCorssFeeRate(resourceId [32]byte, feeRate_ *big.Int) (*types.Transaction, error)
SetCorssFeeRate is a paid mutator transaction binding the contract method 0xec1bef0c.
Solidity: function setCorssFeeRate(bytes32 resourceId, uint256 feeRate_) returns()
func (*CrossFeeSession) SetCrossInGas ¶
func (_CrossFee *CrossFeeSession) SetCrossInGas(crossInGas_ *big.Int) (*types.Transaction, error)
SetCrossInGas is a paid mutator transaction binding the contract method 0x1120e655.
Solidity: function setCrossInGas(uint256 crossInGas_) returns()
func (*CrossFeeSession) SetDefaultGasFee ¶
func (_CrossFee *CrossFeeSession) SetDefaultGasFee(resourceId [32]byte, gasFee_ *big.Int) (*types.Transaction, error)
SetDefaultGasFee is a paid mutator transaction binding the contract method 0xd090223e.
Solidity: function setDefaultGasFee(bytes32 resourceId, uint256 gasFee_) returns()
func (*CrossFeeSession) SetMaxGasPrice ¶
func (_CrossFee *CrossFeeSession) SetMaxGasPrice(max_ *big.Int) (*types.Transaction, error)
SetMaxGasPrice is a paid mutator transaction binding the contract method 0xd2fa635e.
Solidity: function setMaxGasPrice(uint256 max_) returns()
func (*CrossFeeSession) SetResource ¶
func (_CrossFee *CrossFeeSession) SetResource(resourceId [32]byte, tokenAddress common.Address, defaltGasFee *big.Int, feeRate *big.Int) (*types.Transaction, error)
SetResource is a paid mutator transaction binding the contract method 0x02e3588f.
Solidity: function setResource(bytes32 resourceId, address tokenAddress, uint256 defaltGasFee, uint256 feeRate) returns()
func (*CrossFeeSession) SetUni ¶
func (_CrossFee *CrossFeeSession) SetUni(uni_ common.Address) (*types.Transaction, error)
SetUni is a paid mutator transaction binding the contract method 0x6f3ca55d.
Solidity: function setUni(address uni_) returns()
func (*CrossFeeSession) SetWETH ¶
func (_CrossFee *CrossFeeSession) SetWETH(weth_ common.Address) (*types.Transaction, error)
SetWETH is a paid mutator transaction binding the contract method 0x5b769f3c.
Solidity: function setWETH(address weth_) returns()
func (*CrossFeeSession) UniFactory ¶
func (_CrossFee *CrossFeeSession) UniFactory() (common.Address, error)
UniFactory is a free data retrieval call binding the contract method 0xd702ffd0.
Solidity: function uni_factory() view returns(address)
type CrossFeeTransactor ¶
type CrossFeeTransactor struct {
// contains filtered or unexported fields
}
CrossFeeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewCrossFeeTransactor ¶
func NewCrossFeeTransactor(address common.Address, transactor bind.ContractTransactor) (*CrossFeeTransactor, error)
NewCrossFeeTransactor creates a new write-only instance of CrossFee, bound to a specific deployed contract.
func (*CrossFeeTransactor) SetCorssFeeRate ¶
func (_CrossFee *CrossFeeTransactor) SetCorssFeeRate(opts *bind.TransactOpts, resourceId [32]byte, feeRate_ *big.Int) (*types.Transaction, error)
SetCorssFeeRate is a paid mutator transaction binding the contract method 0xec1bef0c.
Solidity: function setCorssFeeRate(bytes32 resourceId, uint256 feeRate_) returns()
func (*CrossFeeTransactor) SetCrossInGas ¶
func (_CrossFee *CrossFeeTransactor) SetCrossInGas(opts *bind.TransactOpts, crossInGas_ *big.Int) (*types.Transaction, error)
SetCrossInGas is a paid mutator transaction binding the contract method 0x1120e655.
Solidity: function setCrossInGas(uint256 crossInGas_) returns()
func (*CrossFeeTransactor) SetDefaultGasFee ¶
func (_CrossFee *CrossFeeTransactor) SetDefaultGasFee(opts *bind.TransactOpts, resourceId [32]byte, gasFee_ *big.Int) (*types.Transaction, error)
SetDefaultGasFee is a paid mutator transaction binding the contract method 0xd090223e.
Solidity: function setDefaultGasFee(bytes32 resourceId, uint256 gasFee_) returns()
func (*CrossFeeTransactor) SetMaxGasPrice ¶
func (_CrossFee *CrossFeeTransactor) SetMaxGasPrice(opts *bind.TransactOpts, max_ *big.Int) (*types.Transaction, error)
SetMaxGasPrice is a paid mutator transaction binding the contract method 0xd2fa635e.
Solidity: function setMaxGasPrice(uint256 max_) returns()
func (*CrossFeeTransactor) SetResource ¶
func (_CrossFee *CrossFeeTransactor) SetResource(opts *bind.TransactOpts, resourceId [32]byte, tokenAddress common.Address, defaltGasFee *big.Int, feeRate *big.Int) (*types.Transaction, error)
SetResource is a paid mutator transaction binding the contract method 0x02e3588f.
Solidity: function setResource(bytes32 resourceId, address tokenAddress, uint256 defaltGasFee, uint256 feeRate) returns()
func (*CrossFeeTransactor) SetUni ¶
func (_CrossFee *CrossFeeTransactor) SetUni(opts *bind.TransactOpts, uni_ common.Address) (*types.Transaction, error)
SetUni is a paid mutator transaction binding the contract method 0x6f3ca55d.
Solidity: function setUni(address uni_) returns()
func (*CrossFeeTransactor) SetWETH ¶
func (_CrossFee *CrossFeeTransactor) SetWETH(opts *bind.TransactOpts, weth_ common.Address) (*types.Transaction, error)
SetWETH is a paid mutator transaction binding the contract method 0x5b769f3c.
Solidity: function setWETH(address weth_) returns()
type CrossFeeTransactorRaw ¶
type CrossFeeTransactorRaw struct {
Contract *CrossFeeTransactor // Generic write-only contract binding to access the raw methods on
}
CrossFeeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*CrossFeeTransactorRaw) Transact ¶
func (_CrossFee *CrossFeeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CrossFeeTransactorRaw) Transfer ¶
func (_CrossFee *CrossFeeTransactorRaw) 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 CrossFeeTransactorSession ¶
type CrossFeeTransactorSession struct { Contract *CrossFeeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
CrossFeeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*CrossFeeTransactorSession) SetCorssFeeRate ¶
func (_CrossFee *CrossFeeTransactorSession) SetCorssFeeRate(resourceId [32]byte, feeRate_ *big.Int) (*types.Transaction, error)
SetCorssFeeRate is a paid mutator transaction binding the contract method 0xec1bef0c.
Solidity: function setCorssFeeRate(bytes32 resourceId, uint256 feeRate_) returns()
func (*CrossFeeTransactorSession) SetCrossInGas ¶
func (_CrossFee *CrossFeeTransactorSession) SetCrossInGas(crossInGas_ *big.Int) (*types.Transaction, error)
SetCrossInGas is a paid mutator transaction binding the contract method 0x1120e655.
Solidity: function setCrossInGas(uint256 crossInGas_) returns()
func (*CrossFeeTransactorSession) SetDefaultGasFee ¶
func (_CrossFee *CrossFeeTransactorSession) SetDefaultGasFee(resourceId [32]byte, gasFee_ *big.Int) (*types.Transaction, error)
SetDefaultGasFee is a paid mutator transaction binding the contract method 0xd090223e.
Solidity: function setDefaultGasFee(bytes32 resourceId, uint256 gasFee_) returns()
func (*CrossFeeTransactorSession) SetMaxGasPrice ¶
func (_CrossFee *CrossFeeTransactorSession) SetMaxGasPrice(max_ *big.Int) (*types.Transaction, error)
SetMaxGasPrice is a paid mutator transaction binding the contract method 0xd2fa635e.
Solidity: function setMaxGasPrice(uint256 max_) returns()
func (*CrossFeeTransactorSession) SetResource ¶
func (_CrossFee *CrossFeeTransactorSession) SetResource(resourceId [32]byte, tokenAddress common.Address, defaltGasFee *big.Int, feeRate *big.Int) (*types.Transaction, error)
SetResource is a paid mutator transaction binding the contract method 0x02e3588f.
Solidity: function setResource(bytes32 resourceId, address tokenAddress, uint256 defaltGasFee, uint256 feeRate) returns()
func (*CrossFeeTransactorSession) SetUni ¶
func (_CrossFee *CrossFeeTransactorSession) SetUni(uni_ common.Address) (*types.Transaction, error)
SetUni is a paid mutator transaction binding the contract method 0x6f3ca55d.
Solidity: function setUni(address uni_) returns()
func (*CrossFeeTransactorSession) SetWETH ¶
func (_CrossFee *CrossFeeTransactorSession) SetWETH(weth_ common.Address) (*types.Transaction, error)
SetWETH is a paid mutator transaction binding the contract method 0x5b769f3c.
Solidity: function setWETH(address weth_) returns()