Documentation ¶
Index ¶
- Variables
- type Beewharf
- type BeewharfCaller
- type BeewharfCallerRaw
- type BeewharfCallerSession
- type BeewharfFilterer
- func (_Beewharf *BeewharfFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*BeewharfOwnershipTransferredIterator, error)
- func (_Beewharf *BeewharfFilterer) FilterPayERC20(opts *bind.FilterOpts, from []common.Address, tokenAddress []common.Address) (*BeewharfPayERC20Iterator, error)
- func (_Beewharf *BeewharfFilterer) FilterPayEth(opts *bind.FilterOpts, from []common.Address) (*BeewharfPayEthIterator, error)
- func (_Beewharf *BeewharfFilterer) FilterRefundERC20(opts *bind.FilterOpts, to []common.Address, tokenAddress []common.Address) (*BeewharfRefundERC20Iterator, error)
- func (_Beewharf *BeewharfFilterer) FilterRefundEth(opts *bind.FilterOpts, to []common.Address) (*BeewharfRefundEthIterator, error)
- func (_Beewharf *BeewharfFilterer) FilterWithdrawERC20(opts *bind.FilterOpts, to []common.Address, tokenAddress []common.Address) (*BeewharfWithdrawERC20Iterator, error)
- func (_Beewharf *BeewharfFilterer) FilterWithdrawEth(opts *bind.FilterOpts, to []common.Address) (*BeewharfWithdrawEthIterator, error)
- func (_Beewharf *BeewharfFilterer) ParseOwnershipTransferred(log types.Log) (*BeewharfOwnershipTransferred, error)
- func (_Beewharf *BeewharfFilterer) ParsePayERC20(log types.Log) (*BeewharfPayERC20, error)
- func (_Beewharf *BeewharfFilterer) ParsePayEth(log types.Log) (*BeewharfPayEth, error)
- func (_Beewharf *BeewharfFilterer) ParseRefundERC20(log types.Log) (*BeewharfRefundERC20, error)
- func (_Beewharf *BeewharfFilterer) ParseRefundEth(log types.Log) (*BeewharfRefundEth, error)
- func (_Beewharf *BeewharfFilterer) ParseWithdrawERC20(log types.Log) (*BeewharfWithdrawERC20, error)
- func (_Beewharf *BeewharfFilterer) ParseWithdrawEth(log types.Log) (*BeewharfWithdrawEth, error)
- func (_Beewharf *BeewharfFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BeewharfOwnershipTransferred, ...) (event.Subscription, error)
- func (_Beewharf *BeewharfFilterer) WatchPayERC20(opts *bind.WatchOpts, sink chan<- *BeewharfPayERC20, from []common.Address, ...) (event.Subscription, error)
- func (_Beewharf *BeewharfFilterer) WatchPayEth(opts *bind.WatchOpts, sink chan<- *BeewharfPayEth, from []common.Address) (event.Subscription, error)
- func (_Beewharf *BeewharfFilterer) WatchRefundERC20(opts *bind.WatchOpts, sink chan<- *BeewharfRefundERC20, to []common.Address, ...) (event.Subscription, error)
- func (_Beewharf *BeewharfFilterer) WatchRefundEth(opts *bind.WatchOpts, sink chan<- *BeewharfRefundEth, to []common.Address) (event.Subscription, error)
- func (_Beewharf *BeewharfFilterer) WatchWithdrawERC20(opts *bind.WatchOpts, sink chan<- *BeewharfWithdrawERC20, to []common.Address, ...) (event.Subscription, error)
- func (_Beewharf *BeewharfFilterer) WatchWithdrawEth(opts *bind.WatchOpts, sink chan<- *BeewharfWithdrawEth, to []common.Address) (event.Subscription, error)
- type BeewharfOwnershipTransferred
- type BeewharfOwnershipTransferredIterator
- type BeewharfPayERC20
- type BeewharfPayERC20Iterator
- type BeewharfPayEth
- type BeewharfPayEthIterator
- type BeewharfRaw
- func (_Beewharf *BeewharfRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Beewharf *BeewharfRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Beewharf *BeewharfRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BeewharfRefundERC20
- type BeewharfRefundERC20Iterator
- type BeewharfRefundEth
- type BeewharfRefundEthIterator
- type BeewharfSession
- func (_Beewharf *BeewharfSession) AddNewSupportToken(tokenAddress common.Address) (*types.Transaction, error)
- func (_Beewharf *BeewharfSession) BalanceOfERC20(tokenAddress common.Address) (*big.Int, error)
- func (_Beewharf *BeewharfSession) BalanceOfETH() (*big.Int, error)
- func (_Beewharf *BeewharfSession) Owner() (common.Address, error)
- func (_Beewharf *BeewharfSession) PayERC20(amount *big.Int, orderId string, tokenAddress common.Address) (*types.Transaction, error)
- func (_Beewharf *BeewharfSession) PayERC20From(from common.Address, amount *big.Int, orderId string, ...) (*types.Transaction, error)
- func (_Beewharf *BeewharfSession) PayEth(orderId string) (*types.Transaction, error)
- func (_Beewharf *BeewharfSession) RefundERC20(to common.Address, amount *big.Int, billId string, tokenAddress common.Address) (*types.Transaction, error)
- func (_Beewharf *BeewharfSession) RefundERC20From(from common.Address, to common.Address, amount *big.Int, billId string, ...) (*types.Transaction, error)
- func (_Beewharf *BeewharfSession) RefundETH(to common.Address, amount *big.Int, billId string) (*types.Transaction, error)
- func (_Beewharf *BeewharfSession) RenounceOwnership() (*types.Transaction, error)
- func (_Beewharf *BeewharfSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Beewharf *BeewharfSession) WithdrawERC20(amount *big.Int, billId string, tokenAddress common.Address) (*types.Transaction, error)
- func (_Beewharf *BeewharfSession) WithdrawEth(amount *big.Int, billId string) (*types.Transaction, error)
- type BeewharfTransactor
- func (_Beewharf *BeewharfTransactor) AddNewSupportToken(opts *bind.TransactOpts, tokenAddress common.Address) (*types.Transaction, error)
- func (_Beewharf *BeewharfTransactor) PayERC20(opts *bind.TransactOpts, amount *big.Int, orderId string, ...) (*types.Transaction, error)
- func (_Beewharf *BeewharfTransactor) PayERC20From(opts *bind.TransactOpts, from common.Address, amount *big.Int, orderId string, ...) (*types.Transaction, error)
- func (_Beewharf *BeewharfTransactor) PayEth(opts *bind.TransactOpts, orderId string) (*types.Transaction, error)
- func (_Beewharf *BeewharfTransactor) RefundERC20(opts *bind.TransactOpts, to common.Address, amount *big.Int, billId string, ...) (*types.Transaction, error)
- func (_Beewharf *BeewharfTransactor) RefundERC20From(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Beewharf *BeewharfTransactor) RefundETH(opts *bind.TransactOpts, to common.Address, amount *big.Int, billId string) (*types.Transaction, error)
- func (_Beewharf *BeewharfTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Beewharf *BeewharfTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_Beewharf *BeewharfTransactor) WithdrawERC20(opts *bind.TransactOpts, amount *big.Int, billId string, ...) (*types.Transaction, error)
- func (_Beewharf *BeewharfTransactor) WithdrawEth(opts *bind.TransactOpts, amount *big.Int, billId string) (*types.Transaction, error)
- type BeewharfTransactorRaw
- type BeewharfTransactorSession
- func (_Beewharf *BeewharfTransactorSession) AddNewSupportToken(tokenAddress common.Address) (*types.Transaction, error)
- func (_Beewharf *BeewharfTransactorSession) PayERC20(amount *big.Int, orderId string, tokenAddress common.Address) (*types.Transaction, error)
- func (_Beewharf *BeewharfTransactorSession) PayERC20From(from common.Address, amount *big.Int, orderId string, ...) (*types.Transaction, error)
- func (_Beewharf *BeewharfTransactorSession) PayEth(orderId string) (*types.Transaction, error)
- func (_Beewharf *BeewharfTransactorSession) RefundERC20(to common.Address, amount *big.Int, billId string, tokenAddress common.Address) (*types.Transaction, error)
- func (_Beewharf *BeewharfTransactorSession) RefundERC20From(from common.Address, to common.Address, amount *big.Int, billId string, ...) (*types.Transaction, error)
- func (_Beewharf *BeewharfTransactorSession) RefundETH(to common.Address, amount *big.Int, billId string) (*types.Transaction, error)
- func (_Beewharf *BeewharfTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Beewharf *BeewharfTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Beewharf *BeewharfTransactorSession) WithdrawERC20(amount *big.Int, billId string, tokenAddress common.Address) (*types.Transaction, error)
- func (_Beewharf *BeewharfTransactorSession) WithdrawEth(amount *big.Int, billId string) (*types.Transaction, error)
- type BeewharfWithdrawERC20
- type BeewharfWithdrawERC20Iterator
- type BeewharfWithdrawEth
- type BeewharfWithdrawEthIterator
Constants ¶
This section is empty.
Variables ¶
var BeewharfABI = BeewharfMetaData.ABI
BeewharfABI is the input ABI used to generate the binding from. Deprecated: Use BeewharfMetaData.ABI instead.
var BeewharfMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"orderId\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"PayERC20\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"orderId\",\"type\":\"string\"}],\"name\":\"PayEth\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"billId\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"RefundERC20\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"billId\",\"type\":\"string\"}],\"name\":\"RefundEth\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"billId\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"WithdrawERC20\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"billId\",\"type\":\"string\"}],\"name\":\"WithdrawEth\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"addNewSupportToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"balanceOfERC20\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"balanceOfETH\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"orderId\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"payERC20\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"orderId\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"payERC20From\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"orderId\",\"type\":\"string\"}],\"name\":\"payEth\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"billId\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"refundERC20\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"billId\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"refundERC20From\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"billId\",\"type\":\"string\"}],\"name\":\"refundETH\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"billId\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"}],\"name\":\"withdrawERC20\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"billId\",\"type\":\"string\"}],\"name\":\"withdrawEth\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
BeewharfMetaData contains all meta data concerning the Beewharf contract.
Functions ¶
This section is empty.
Types ¶
type Beewharf ¶
type Beewharf struct { BeewharfCaller // Read-only binding to the contract BeewharfTransactor // Write-only binding to the contract BeewharfFilterer // Log filterer for contract events }
Beewharf is an auto generated Go binding around an Ethereum contract.
func NewBeewharf ¶
NewBeewharf creates a new instance of Beewharf, bound to a specific deployed contract.
type BeewharfCaller ¶
type BeewharfCaller struct {
// contains filtered or unexported fields
}
BeewharfCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBeewharfCaller ¶
func NewBeewharfCaller(address common.Address, caller bind.ContractCaller) (*BeewharfCaller, error)
NewBeewharfCaller creates a new read-only instance of Beewharf, bound to a specific deployed contract.
func (*BeewharfCaller) BalanceOfERC20 ¶
func (_Beewharf *BeewharfCaller) BalanceOfERC20(opts *bind.CallOpts, tokenAddress common.Address) (*big.Int, error)
BalanceOfERC20 is a free data retrieval call binding the contract method 0xd93db24f.
Solidity: function balanceOfERC20(address tokenAddress) view returns(uint256)
func (*BeewharfCaller) BalanceOfETH ¶
BalanceOfETH is a free data retrieval call binding the contract method 0x8ea5b802.
Solidity: function balanceOfETH() view returns(uint256)
type BeewharfCallerRaw ¶
type BeewharfCallerRaw struct {
Contract *BeewharfCaller // Generic read-only contract binding to access the raw methods on
}
BeewharfCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BeewharfCallerRaw) Call ¶
func (_Beewharf *BeewharfCallerRaw) 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 BeewharfCallerSession ¶
type BeewharfCallerSession struct { Contract *BeewharfCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BeewharfCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*BeewharfCallerSession) BalanceOfERC20 ¶
func (_Beewharf *BeewharfCallerSession) BalanceOfERC20(tokenAddress common.Address) (*big.Int, error)
BalanceOfERC20 is a free data retrieval call binding the contract method 0xd93db24f.
Solidity: function balanceOfERC20(address tokenAddress) view returns(uint256)
func (*BeewharfCallerSession) BalanceOfETH ¶
func (_Beewharf *BeewharfCallerSession) BalanceOfETH() (*big.Int, error)
BalanceOfETH is a free data retrieval call binding the contract method 0x8ea5b802.
Solidity: function balanceOfETH() view returns(uint256)
type BeewharfFilterer ¶
type BeewharfFilterer struct {
// contains filtered or unexported fields
}
BeewharfFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBeewharfFilterer ¶
func NewBeewharfFilterer(address common.Address, filterer bind.ContractFilterer) (*BeewharfFilterer, error)
NewBeewharfFilterer creates a new log filterer instance of Beewharf, bound to a specific deployed contract.
func (*BeewharfFilterer) FilterOwnershipTransferred ¶
func (_Beewharf *BeewharfFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*BeewharfOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*BeewharfFilterer) FilterPayERC20 ¶
func (_Beewharf *BeewharfFilterer) FilterPayERC20(opts *bind.FilterOpts, from []common.Address, tokenAddress []common.Address) (*BeewharfPayERC20Iterator, error)
FilterPayERC20 is a free log retrieval operation binding the contract event 0x5813e31687b98924e93d090022c25c96ef51b871564c433d5823e936dc3b4397.
Solidity: event PayERC20(address indexed from, uint256 amount, string orderId, address indexed tokenAddress)
func (*BeewharfFilterer) FilterPayEth ¶
func (_Beewharf *BeewharfFilterer) FilterPayEth(opts *bind.FilterOpts, from []common.Address) (*BeewharfPayEthIterator, error)
FilterPayEth is a free log retrieval operation binding the contract event 0x0fac5502d5aa0952c2aceb7677cfae0e136494c4b5ca45bb8f0c636ab017efa5.
Solidity: event PayEth(address indexed from, uint256 amount, string orderId)
func (*BeewharfFilterer) FilterRefundERC20 ¶
func (_Beewharf *BeewharfFilterer) FilterRefundERC20(opts *bind.FilterOpts, to []common.Address, tokenAddress []common.Address) (*BeewharfRefundERC20Iterator, error)
FilterRefundERC20 is a free log retrieval operation binding the contract event 0x6b4b6b0c19db95f8115cbbc9222c0904280ced3214cae0a128151210a5b6ec30.
Solidity: event RefundERC20(address indexed to, uint256 amount, string billId, address indexed tokenAddress)
func (*BeewharfFilterer) FilterRefundEth ¶
func (_Beewharf *BeewharfFilterer) FilterRefundEth(opts *bind.FilterOpts, to []common.Address) (*BeewharfRefundEthIterator, error)
FilterRefundEth is a free log retrieval operation binding the contract event 0xd4ffb8b83d27e6fca3ab24f0e700caca6e812178a99b11e0c04383fa37d4aae2.
Solidity: event RefundEth(address indexed to, uint256 amount, string billId)
func (*BeewharfFilterer) FilterWithdrawERC20 ¶
func (_Beewharf *BeewharfFilterer) FilterWithdrawERC20(opts *bind.FilterOpts, to []common.Address, tokenAddress []common.Address) (*BeewharfWithdrawERC20Iterator, error)
FilterWithdrawERC20 is a free log retrieval operation binding the contract event 0x3822da7c1846353da157717dd7e95db54b4ffe105a04f5042cdf2cb1adadb283.
Solidity: event WithdrawERC20(address indexed to, uint256 amount, string billId, address indexed tokenAddress)
func (*BeewharfFilterer) FilterWithdrawEth ¶
func (_Beewharf *BeewharfFilterer) FilterWithdrawEth(opts *bind.FilterOpts, to []common.Address) (*BeewharfWithdrawEthIterator, error)
FilterWithdrawEth is a free log retrieval operation binding the contract event 0xd8f8af852ed19cf5c8faaabb0f17c48f257593ede85efc2f1fe7ba6830de23e9.
Solidity: event WithdrawEth(address indexed to, uint256 amount, string billId)
func (*BeewharfFilterer) ParseOwnershipTransferred ¶
func (_Beewharf *BeewharfFilterer) ParseOwnershipTransferred(log types.Log) (*BeewharfOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*BeewharfFilterer) ParsePayERC20 ¶
func (_Beewharf *BeewharfFilterer) ParsePayERC20(log types.Log) (*BeewharfPayERC20, error)
ParsePayERC20 is a log parse operation binding the contract event 0x5813e31687b98924e93d090022c25c96ef51b871564c433d5823e936dc3b4397.
Solidity: event PayERC20(address indexed from, uint256 amount, string orderId, address indexed tokenAddress)
func (*BeewharfFilterer) ParsePayEth ¶
func (_Beewharf *BeewharfFilterer) ParsePayEth(log types.Log) (*BeewharfPayEth, error)
ParsePayEth is a log parse operation binding the contract event 0x0fac5502d5aa0952c2aceb7677cfae0e136494c4b5ca45bb8f0c636ab017efa5.
Solidity: event PayEth(address indexed from, uint256 amount, string orderId)
func (*BeewharfFilterer) ParseRefundERC20 ¶
func (_Beewharf *BeewharfFilterer) ParseRefundERC20(log types.Log) (*BeewharfRefundERC20, error)
ParseRefundERC20 is a log parse operation binding the contract event 0x6b4b6b0c19db95f8115cbbc9222c0904280ced3214cae0a128151210a5b6ec30.
Solidity: event RefundERC20(address indexed to, uint256 amount, string billId, address indexed tokenAddress)
func (*BeewharfFilterer) ParseRefundEth ¶
func (_Beewharf *BeewharfFilterer) ParseRefundEth(log types.Log) (*BeewharfRefundEth, error)
ParseRefundEth is a log parse operation binding the contract event 0xd4ffb8b83d27e6fca3ab24f0e700caca6e812178a99b11e0c04383fa37d4aae2.
Solidity: event RefundEth(address indexed to, uint256 amount, string billId)
func (*BeewharfFilterer) ParseWithdrawERC20 ¶
func (_Beewharf *BeewharfFilterer) ParseWithdrawERC20(log types.Log) (*BeewharfWithdrawERC20, error)
ParseWithdrawERC20 is a log parse operation binding the contract event 0x3822da7c1846353da157717dd7e95db54b4ffe105a04f5042cdf2cb1adadb283.
Solidity: event WithdrawERC20(address indexed to, uint256 amount, string billId, address indexed tokenAddress)
func (*BeewharfFilterer) ParseWithdrawEth ¶
func (_Beewharf *BeewharfFilterer) ParseWithdrawEth(log types.Log) (*BeewharfWithdrawEth, error)
ParseWithdrawEth is a log parse operation binding the contract event 0xd8f8af852ed19cf5c8faaabb0f17c48f257593ede85efc2f1fe7ba6830de23e9.
Solidity: event WithdrawEth(address indexed to, uint256 amount, string billId)
func (*BeewharfFilterer) WatchOwnershipTransferred ¶
func (_Beewharf *BeewharfFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BeewharfOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*BeewharfFilterer) WatchPayERC20 ¶
func (_Beewharf *BeewharfFilterer) WatchPayERC20(opts *bind.WatchOpts, sink chan<- *BeewharfPayERC20, from []common.Address, tokenAddress []common.Address) (event.Subscription, error)
WatchPayERC20 is a free log subscription operation binding the contract event 0x5813e31687b98924e93d090022c25c96ef51b871564c433d5823e936dc3b4397.
Solidity: event PayERC20(address indexed from, uint256 amount, string orderId, address indexed tokenAddress)
func (*BeewharfFilterer) WatchPayEth ¶
func (_Beewharf *BeewharfFilterer) WatchPayEth(opts *bind.WatchOpts, sink chan<- *BeewharfPayEth, from []common.Address) (event.Subscription, error)
WatchPayEth is a free log subscription operation binding the contract event 0x0fac5502d5aa0952c2aceb7677cfae0e136494c4b5ca45bb8f0c636ab017efa5.
Solidity: event PayEth(address indexed from, uint256 amount, string orderId)
func (*BeewharfFilterer) WatchRefundERC20 ¶
func (_Beewharf *BeewharfFilterer) WatchRefundERC20(opts *bind.WatchOpts, sink chan<- *BeewharfRefundERC20, to []common.Address, tokenAddress []common.Address) (event.Subscription, error)
WatchRefundERC20 is a free log subscription operation binding the contract event 0x6b4b6b0c19db95f8115cbbc9222c0904280ced3214cae0a128151210a5b6ec30.
Solidity: event RefundERC20(address indexed to, uint256 amount, string billId, address indexed tokenAddress)
func (*BeewharfFilterer) WatchRefundEth ¶
func (_Beewharf *BeewharfFilterer) WatchRefundEth(opts *bind.WatchOpts, sink chan<- *BeewharfRefundEth, to []common.Address) (event.Subscription, error)
WatchRefundEth is a free log subscription operation binding the contract event 0xd4ffb8b83d27e6fca3ab24f0e700caca6e812178a99b11e0c04383fa37d4aae2.
Solidity: event RefundEth(address indexed to, uint256 amount, string billId)
func (*BeewharfFilterer) WatchWithdrawERC20 ¶
func (_Beewharf *BeewharfFilterer) WatchWithdrawERC20(opts *bind.WatchOpts, sink chan<- *BeewharfWithdrawERC20, to []common.Address, tokenAddress []common.Address) (event.Subscription, error)
WatchWithdrawERC20 is a free log subscription operation binding the contract event 0x3822da7c1846353da157717dd7e95db54b4ffe105a04f5042cdf2cb1adadb283.
Solidity: event WithdrawERC20(address indexed to, uint256 amount, string billId, address indexed tokenAddress)
func (*BeewharfFilterer) WatchWithdrawEth ¶
func (_Beewharf *BeewharfFilterer) WatchWithdrawEth(opts *bind.WatchOpts, sink chan<- *BeewharfWithdrawEth, to []common.Address) (event.Subscription, error)
WatchWithdrawEth is a free log subscription operation binding the contract event 0xd8f8af852ed19cf5c8faaabb0f17c48f257593ede85efc2f1fe7ba6830de23e9.
Solidity: event WithdrawEth(address indexed to, uint256 amount, string billId)
type BeewharfOwnershipTransferred ¶
type BeewharfOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
BeewharfOwnershipTransferred represents a OwnershipTransferred event raised by the Beewharf contract.
type BeewharfOwnershipTransferredIterator ¶
type BeewharfOwnershipTransferredIterator struct { Event *BeewharfOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BeewharfOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Beewharf contract.
func (*BeewharfOwnershipTransferredIterator) Close ¶
func (it *BeewharfOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BeewharfOwnershipTransferredIterator) Error ¶
func (it *BeewharfOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BeewharfOwnershipTransferredIterator) Next ¶
func (it *BeewharfOwnershipTransferredIterator) 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 BeewharfPayERC20 ¶
type BeewharfPayERC20 struct { From common.Address Amount *big.Int OrderId string TokenAddress common.Address Raw types.Log // Blockchain specific contextual infos }
BeewharfPayERC20 represents a PayERC20 event raised by the Beewharf contract.
type BeewharfPayERC20Iterator ¶
type BeewharfPayERC20Iterator struct { Event *BeewharfPayERC20 // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BeewharfPayERC20Iterator is returned from FilterPayERC20 and is used to iterate over the raw logs and unpacked data for PayERC20 events raised by the Beewharf contract.
func (*BeewharfPayERC20Iterator) Close ¶
func (it *BeewharfPayERC20Iterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BeewharfPayERC20Iterator) Error ¶
func (it *BeewharfPayERC20Iterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BeewharfPayERC20Iterator) Next ¶
func (it *BeewharfPayERC20Iterator) 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 BeewharfPayEth ¶
type BeewharfPayEth struct { From common.Address Amount *big.Int OrderId string Raw types.Log // Blockchain specific contextual infos }
BeewharfPayEth represents a PayEth event raised by the Beewharf contract.
type BeewharfPayEthIterator ¶
type BeewharfPayEthIterator struct { Event *BeewharfPayEth // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BeewharfPayEthIterator is returned from FilterPayEth and is used to iterate over the raw logs and unpacked data for PayEth events raised by the Beewharf contract.
func (*BeewharfPayEthIterator) Close ¶
func (it *BeewharfPayEthIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BeewharfPayEthIterator) Error ¶
func (it *BeewharfPayEthIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BeewharfPayEthIterator) Next ¶
func (it *BeewharfPayEthIterator) 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 BeewharfRaw ¶
type BeewharfRaw struct {
Contract *Beewharf // Generic contract binding to access the raw methods on
}
BeewharfRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BeewharfRaw) Call ¶
func (_Beewharf *BeewharfRaw) 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 (*BeewharfRaw) Transact ¶
func (_Beewharf *BeewharfRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BeewharfRaw) Transfer ¶
func (_Beewharf *BeewharfRaw) 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 BeewharfRefundERC20 ¶
type BeewharfRefundERC20 struct { To common.Address Amount *big.Int BillId string TokenAddress common.Address Raw types.Log // Blockchain specific contextual infos }
BeewharfRefundERC20 represents a RefundERC20 event raised by the Beewharf contract.
type BeewharfRefundERC20Iterator ¶
type BeewharfRefundERC20Iterator struct { Event *BeewharfRefundERC20 // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BeewharfRefundERC20Iterator is returned from FilterRefundERC20 and is used to iterate over the raw logs and unpacked data for RefundERC20 events raised by the Beewharf contract.
func (*BeewharfRefundERC20Iterator) Close ¶
func (it *BeewharfRefundERC20Iterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BeewharfRefundERC20Iterator) Error ¶
func (it *BeewharfRefundERC20Iterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BeewharfRefundERC20Iterator) Next ¶
func (it *BeewharfRefundERC20Iterator) 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 BeewharfRefundEth ¶
type BeewharfRefundEth struct { To common.Address Amount *big.Int BillId string Raw types.Log // Blockchain specific contextual infos }
BeewharfRefundEth represents a RefundEth event raised by the Beewharf contract.
type BeewharfRefundEthIterator ¶
type BeewharfRefundEthIterator struct { Event *BeewharfRefundEth // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BeewharfRefundEthIterator is returned from FilterRefundEth and is used to iterate over the raw logs and unpacked data for RefundEth events raised by the Beewharf contract.
func (*BeewharfRefundEthIterator) Close ¶
func (it *BeewharfRefundEthIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BeewharfRefundEthIterator) Error ¶
func (it *BeewharfRefundEthIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BeewharfRefundEthIterator) Next ¶
func (it *BeewharfRefundEthIterator) 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 BeewharfSession ¶
type BeewharfSession struct { Contract *Beewharf // 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 }
BeewharfSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*BeewharfSession) AddNewSupportToken ¶
func (_Beewharf *BeewharfSession) AddNewSupportToken(tokenAddress common.Address) (*types.Transaction, error)
AddNewSupportToken is a paid mutator transaction binding the contract method 0xb30917ad.
Solidity: function addNewSupportToken(address tokenAddress) returns()
func (*BeewharfSession) BalanceOfERC20 ¶
BalanceOfERC20 is a free data retrieval call binding the contract method 0xd93db24f.
Solidity: function balanceOfERC20(address tokenAddress) view returns(uint256)
func (*BeewharfSession) BalanceOfETH ¶
func (_Beewharf *BeewharfSession) BalanceOfETH() (*big.Int, error)
BalanceOfETH is a free data retrieval call binding the contract method 0x8ea5b802.
Solidity: function balanceOfETH() view returns(uint256)
func (*BeewharfSession) Owner ¶
func (_Beewharf *BeewharfSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*BeewharfSession) PayERC20 ¶
func (_Beewharf *BeewharfSession) PayERC20(amount *big.Int, orderId string, tokenAddress common.Address) (*types.Transaction, error)
PayERC20 is a paid mutator transaction binding the contract method 0x711e0ee7.
Solidity: function payERC20(uint256 amount, string orderId, address tokenAddress) returns()
func (*BeewharfSession) PayERC20From ¶
func (_Beewharf *BeewharfSession) PayERC20From(from common.Address, amount *big.Int, orderId string, tokenAddress common.Address) (*types.Transaction, error)
PayERC20From is a paid mutator transaction binding the contract method 0x793191f1.
Solidity: function payERC20From(address from, uint256 amount, string orderId, address tokenAddress) returns()
func (*BeewharfSession) PayEth ¶
func (_Beewharf *BeewharfSession) PayEth(orderId string) (*types.Transaction, error)
PayEth is a paid mutator transaction binding the contract method 0xaf7d51f5.
Solidity: function payEth(string orderId) payable returns()
func (*BeewharfSession) RefundERC20 ¶
func (_Beewharf *BeewharfSession) RefundERC20(to common.Address, amount *big.Int, billId string, tokenAddress common.Address) (*types.Transaction, error)
RefundERC20 is a paid mutator transaction binding the contract method 0x70d47134.
Solidity: function refundERC20(address to, uint256 amount, string billId, address tokenAddress) returns()
func (*BeewharfSession) RefundERC20From ¶
func (_Beewharf *BeewharfSession) RefundERC20From(from common.Address, to common.Address, amount *big.Int, billId string, tokenAddress common.Address) (*types.Transaction, error)
RefundERC20From is a paid mutator transaction binding the contract method 0xcc86a503.
Solidity: function refundERC20From(address from, address to, uint256 amount, string billId, address tokenAddress) returns()
func (*BeewharfSession) RefundETH ¶
func (_Beewharf *BeewharfSession) RefundETH(to common.Address, amount *big.Int, billId string) (*types.Transaction, error)
RefundETH is a paid mutator transaction binding the contract method 0x0290579b.
Solidity: function refundETH(address to, uint256 amount, string billId) returns()
func (*BeewharfSession) RenounceOwnership ¶
func (_Beewharf *BeewharfSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*BeewharfSession) TransferOwnership ¶
func (_Beewharf *BeewharfSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*BeewharfSession) WithdrawERC20 ¶
func (_Beewharf *BeewharfSession) WithdrawERC20(amount *big.Int, billId string, tokenAddress common.Address) (*types.Transaction, error)
WithdrawERC20 is a paid mutator transaction binding the contract method 0x58598dad.
Solidity: function withdrawERC20(uint256 amount, string billId, address tokenAddress) returns()
func (*BeewharfSession) WithdrawEth ¶
func (_Beewharf *BeewharfSession) WithdrawEth(amount *big.Int, billId string) (*types.Transaction, error)
WithdrawEth is a paid mutator transaction binding the contract method 0xe6cd186f.
Solidity: function withdrawEth(uint256 amount, string billId) returns()
type BeewharfTransactor ¶
type BeewharfTransactor struct {
// contains filtered or unexported fields
}
BeewharfTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBeewharfTransactor ¶
func NewBeewharfTransactor(address common.Address, transactor bind.ContractTransactor) (*BeewharfTransactor, error)
NewBeewharfTransactor creates a new write-only instance of Beewharf, bound to a specific deployed contract.
func (*BeewharfTransactor) AddNewSupportToken ¶
func (_Beewharf *BeewharfTransactor) AddNewSupportToken(opts *bind.TransactOpts, tokenAddress common.Address) (*types.Transaction, error)
AddNewSupportToken is a paid mutator transaction binding the contract method 0xb30917ad.
Solidity: function addNewSupportToken(address tokenAddress) returns()
func (*BeewharfTransactor) PayERC20 ¶
func (_Beewharf *BeewharfTransactor) PayERC20(opts *bind.TransactOpts, amount *big.Int, orderId string, tokenAddress common.Address) (*types.Transaction, error)
PayERC20 is a paid mutator transaction binding the contract method 0x711e0ee7.
Solidity: function payERC20(uint256 amount, string orderId, address tokenAddress) returns()
func (*BeewharfTransactor) PayERC20From ¶
func (_Beewharf *BeewharfTransactor) PayERC20From(opts *bind.TransactOpts, from common.Address, amount *big.Int, orderId string, tokenAddress common.Address) (*types.Transaction, error)
PayERC20From is a paid mutator transaction binding the contract method 0x793191f1.
Solidity: function payERC20From(address from, uint256 amount, string orderId, address tokenAddress) returns()
func (*BeewharfTransactor) PayEth ¶
func (_Beewharf *BeewharfTransactor) PayEth(opts *bind.TransactOpts, orderId string) (*types.Transaction, error)
PayEth is a paid mutator transaction binding the contract method 0xaf7d51f5.
Solidity: function payEth(string orderId) payable returns()
func (*BeewharfTransactor) RefundERC20 ¶
func (_Beewharf *BeewharfTransactor) RefundERC20(opts *bind.TransactOpts, to common.Address, amount *big.Int, billId string, tokenAddress common.Address) (*types.Transaction, error)
RefundERC20 is a paid mutator transaction binding the contract method 0x70d47134.
Solidity: function refundERC20(address to, uint256 amount, string billId, address tokenAddress) returns()
func (*BeewharfTransactor) RefundERC20From ¶
func (_Beewharf *BeewharfTransactor) RefundERC20From(opts *bind.TransactOpts, from common.Address, to common.Address, amount *big.Int, billId string, tokenAddress common.Address) (*types.Transaction, error)
RefundERC20From is a paid mutator transaction binding the contract method 0xcc86a503.
Solidity: function refundERC20From(address from, address to, uint256 amount, string billId, address tokenAddress) returns()
func (*BeewharfTransactor) RefundETH ¶
func (_Beewharf *BeewharfTransactor) RefundETH(opts *bind.TransactOpts, to common.Address, amount *big.Int, billId string) (*types.Transaction, error)
RefundETH is a paid mutator transaction binding the contract method 0x0290579b.
Solidity: function refundETH(address to, uint256 amount, string billId) returns()
func (*BeewharfTransactor) RenounceOwnership ¶
func (_Beewharf *BeewharfTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*BeewharfTransactor) TransferOwnership ¶
func (_Beewharf *BeewharfTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*BeewharfTransactor) WithdrawERC20 ¶
func (_Beewharf *BeewharfTransactor) WithdrawERC20(opts *bind.TransactOpts, amount *big.Int, billId string, tokenAddress common.Address) (*types.Transaction, error)
WithdrawERC20 is a paid mutator transaction binding the contract method 0x58598dad.
Solidity: function withdrawERC20(uint256 amount, string billId, address tokenAddress) returns()
func (*BeewharfTransactor) WithdrawEth ¶
func (_Beewharf *BeewharfTransactor) WithdrawEth(opts *bind.TransactOpts, amount *big.Int, billId string) (*types.Transaction, error)
WithdrawEth is a paid mutator transaction binding the contract method 0xe6cd186f.
Solidity: function withdrawEth(uint256 amount, string billId) returns()
type BeewharfTransactorRaw ¶
type BeewharfTransactorRaw struct {
Contract *BeewharfTransactor // Generic write-only contract binding to access the raw methods on
}
BeewharfTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BeewharfTransactorRaw) Transact ¶
func (_Beewharf *BeewharfTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BeewharfTransactorRaw) Transfer ¶
func (_Beewharf *BeewharfTransactorRaw) 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 BeewharfTransactorSession ¶
type BeewharfTransactorSession struct { Contract *BeewharfTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BeewharfTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*BeewharfTransactorSession) AddNewSupportToken ¶
func (_Beewharf *BeewharfTransactorSession) AddNewSupportToken(tokenAddress common.Address) (*types.Transaction, error)
AddNewSupportToken is a paid mutator transaction binding the contract method 0xb30917ad.
Solidity: function addNewSupportToken(address tokenAddress) returns()
func (*BeewharfTransactorSession) PayERC20 ¶
func (_Beewharf *BeewharfTransactorSession) PayERC20(amount *big.Int, orderId string, tokenAddress common.Address) (*types.Transaction, error)
PayERC20 is a paid mutator transaction binding the contract method 0x711e0ee7.
Solidity: function payERC20(uint256 amount, string orderId, address tokenAddress) returns()
func (*BeewharfTransactorSession) PayERC20From ¶
func (_Beewharf *BeewharfTransactorSession) PayERC20From(from common.Address, amount *big.Int, orderId string, tokenAddress common.Address) (*types.Transaction, error)
PayERC20From is a paid mutator transaction binding the contract method 0x793191f1.
Solidity: function payERC20From(address from, uint256 amount, string orderId, address tokenAddress) returns()
func (*BeewharfTransactorSession) PayEth ¶
func (_Beewharf *BeewharfTransactorSession) PayEth(orderId string) (*types.Transaction, error)
PayEth is a paid mutator transaction binding the contract method 0xaf7d51f5.
Solidity: function payEth(string orderId) payable returns()
func (*BeewharfTransactorSession) RefundERC20 ¶
func (_Beewharf *BeewharfTransactorSession) RefundERC20(to common.Address, amount *big.Int, billId string, tokenAddress common.Address) (*types.Transaction, error)
RefundERC20 is a paid mutator transaction binding the contract method 0x70d47134.
Solidity: function refundERC20(address to, uint256 amount, string billId, address tokenAddress) returns()
func (*BeewharfTransactorSession) RefundERC20From ¶
func (_Beewharf *BeewharfTransactorSession) RefundERC20From(from common.Address, to common.Address, amount *big.Int, billId string, tokenAddress common.Address) (*types.Transaction, error)
RefundERC20From is a paid mutator transaction binding the contract method 0xcc86a503.
Solidity: function refundERC20From(address from, address to, uint256 amount, string billId, address tokenAddress) returns()
func (*BeewharfTransactorSession) RefundETH ¶
func (_Beewharf *BeewharfTransactorSession) RefundETH(to common.Address, amount *big.Int, billId string) (*types.Transaction, error)
RefundETH is a paid mutator transaction binding the contract method 0x0290579b.
Solidity: function refundETH(address to, uint256 amount, string billId) returns()
func (*BeewharfTransactorSession) RenounceOwnership ¶
func (_Beewharf *BeewharfTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*BeewharfTransactorSession) TransferOwnership ¶
func (_Beewharf *BeewharfTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*BeewharfTransactorSession) WithdrawERC20 ¶
func (_Beewharf *BeewharfTransactorSession) WithdrawERC20(amount *big.Int, billId string, tokenAddress common.Address) (*types.Transaction, error)
WithdrawERC20 is a paid mutator transaction binding the contract method 0x58598dad.
Solidity: function withdrawERC20(uint256 amount, string billId, address tokenAddress) returns()
func (*BeewharfTransactorSession) WithdrawEth ¶
func (_Beewharf *BeewharfTransactorSession) WithdrawEth(amount *big.Int, billId string) (*types.Transaction, error)
WithdrawEth is a paid mutator transaction binding the contract method 0xe6cd186f.
Solidity: function withdrawEth(uint256 amount, string billId) returns()
type BeewharfWithdrawERC20 ¶
type BeewharfWithdrawERC20 struct { To common.Address Amount *big.Int BillId string TokenAddress common.Address Raw types.Log // Blockchain specific contextual infos }
BeewharfWithdrawERC20 represents a WithdrawERC20 event raised by the Beewharf contract.
type BeewharfWithdrawERC20Iterator ¶
type BeewharfWithdrawERC20Iterator struct { Event *BeewharfWithdrawERC20 // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BeewharfWithdrawERC20Iterator is returned from FilterWithdrawERC20 and is used to iterate over the raw logs and unpacked data for WithdrawERC20 events raised by the Beewharf contract.
func (*BeewharfWithdrawERC20Iterator) Close ¶
func (it *BeewharfWithdrawERC20Iterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BeewharfWithdrawERC20Iterator) Error ¶
func (it *BeewharfWithdrawERC20Iterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BeewharfWithdrawERC20Iterator) Next ¶
func (it *BeewharfWithdrawERC20Iterator) 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 BeewharfWithdrawEth ¶
type BeewharfWithdrawEth struct { To common.Address Amount *big.Int BillId string Raw types.Log // Blockchain specific contextual infos }
BeewharfWithdrawEth represents a WithdrawEth event raised by the Beewharf contract.
type BeewharfWithdrawEthIterator ¶
type BeewharfWithdrawEthIterator struct { Event *BeewharfWithdrawEth // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BeewharfWithdrawEthIterator is returned from FilterWithdrawEth and is used to iterate over the raw logs and unpacked data for WithdrawEth events raised by the Beewharf contract.
func (*BeewharfWithdrawEthIterator) Close ¶
func (it *BeewharfWithdrawEthIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BeewharfWithdrawEthIterator) Error ¶
func (it *BeewharfWithdrawEthIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BeewharfWithdrawEthIterator) Next ¶
func (it *BeewharfWithdrawEthIterator) 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.