Documentation
¶
Index ¶
- Constants
- type ICrossFee
- type ICrossFeeCaller
- type ICrossFeeCallerRaw
- type ICrossFeeCallerSession
- type ICrossFeeFilterer
- type ICrossFeeRaw
- func (_ICrossFee *ICrossFeeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ICrossFee *ICrossFeeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ICrossFee *ICrossFeeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ICrossFeeSession
- type ICrossFeeTransactor
- type ICrossFeeTransactorRaw
- type ICrossFeeTransactorSession
Constants ¶
const ICrossFeeABI = "" /* 806-byte string literal not displayed */
ICrossFeeABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ICrossFee ¶
type ICrossFee struct { ICrossFeeCaller // Read-only binding to the contract ICrossFeeTransactor // Write-only binding to the contract ICrossFeeFilterer // Log filterer for contract events }
ICrossFee is an auto generated Go binding around an Ethereum contract.
func NewICrossFee ¶
NewICrossFee creates a new instance of ICrossFee, bound to a specific deployed contract.
type ICrossFeeCaller ¶
type ICrossFeeCaller struct {
// contains filtered or unexported fields
}
ICrossFeeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewICrossFeeCaller ¶
func NewICrossFeeCaller(address common.Address, caller bind.ContractCaller) (*ICrossFeeCaller, error)
NewICrossFeeCaller creates a new read-only instance of ICrossFee, bound to a specific deployed contract.
func (*ICrossFeeCaller) CalCrossFee ¶
func (_ICrossFee *ICrossFeeCaller) CalCrossFee(opts *bind.CallOpts, resourceId [32]byte, inputAmount *big.Int, gasPrice *big.Int) (struct { CrossFee *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 crossFee, uint256 gasFee)
func (*ICrossFeeCaller) EstimateFee ¶
func (_ICrossFee *ICrossFeeCaller) 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)
type ICrossFeeCallerRaw ¶
type ICrossFeeCallerRaw struct {
Contract *ICrossFeeCaller // Generic read-only contract binding to access the raw methods on
}
ICrossFeeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ICrossFeeCallerRaw) Call ¶
func (_ICrossFee *ICrossFeeCallerRaw) 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 ICrossFeeCallerSession ¶
type ICrossFeeCallerSession struct { Contract *ICrossFeeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ICrossFeeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ICrossFeeCallerSession) CalCrossFee ¶
func (_ICrossFee *ICrossFeeCallerSession) CalCrossFee(resourceId [32]byte, inputAmount *big.Int, gasPrice *big.Int) (struct { CrossFee *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 crossFee, uint256 gasFee)
func (*ICrossFeeCallerSession) EstimateFee ¶
func (_ICrossFee *ICrossFeeCallerSession) 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)
type ICrossFeeFilterer ¶
type ICrossFeeFilterer struct {
// contains filtered or unexported fields
}
ICrossFeeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewICrossFeeFilterer ¶
func NewICrossFeeFilterer(address common.Address, filterer bind.ContractFilterer) (*ICrossFeeFilterer, error)
NewICrossFeeFilterer creates a new log filterer instance of ICrossFee, bound to a specific deployed contract.
type ICrossFeeRaw ¶
type ICrossFeeRaw struct {
Contract *ICrossFee // Generic contract binding to access the raw methods on
}
ICrossFeeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ICrossFeeRaw) Call ¶
func (_ICrossFee *ICrossFeeRaw) 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 (*ICrossFeeRaw) Transact ¶
func (_ICrossFee *ICrossFeeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ICrossFeeRaw) Transfer ¶
func (_ICrossFee *ICrossFeeRaw) 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 ICrossFeeSession ¶
type ICrossFeeSession struct { Contract *ICrossFee // 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 }
ICrossFeeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ICrossFeeSession) CalCrossFee ¶
func (_ICrossFee *ICrossFeeSession) CalCrossFee(resourceId [32]byte, inputAmount *big.Int, gasPrice *big.Int) (struct { CrossFee *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 crossFee, uint256 gasFee)
func (*ICrossFeeSession) EstimateFee ¶
func (_ICrossFee *ICrossFeeSession) 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)
type ICrossFeeTransactor ¶
type ICrossFeeTransactor struct {
// contains filtered or unexported fields
}
ICrossFeeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewICrossFeeTransactor ¶
func NewICrossFeeTransactor(address common.Address, transactor bind.ContractTransactor) (*ICrossFeeTransactor, error)
NewICrossFeeTransactor creates a new write-only instance of ICrossFee, bound to a specific deployed contract.
type ICrossFeeTransactorRaw ¶
type ICrossFeeTransactorRaw struct {
Contract *ICrossFeeTransactor // Generic write-only contract binding to access the raw methods on
}
ICrossFeeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ICrossFeeTransactorRaw) Transact ¶
func (_ICrossFee *ICrossFeeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ICrossFeeTransactorRaw) Transfer ¶
func (_ICrossFee *ICrossFeeTransactorRaw) 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 ICrossFeeTransactorSession ¶
type ICrossFeeTransactorSession struct { Contract *ICrossFeeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ICrossFeeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.