Documentation ¶
Index ¶
- Constants
- type Btsperiphery
- type BtsperipheryCaller
- func (_Btsperiphery *BtsperipheryCaller) CheckParseAddress(opts *bind.CallOpts, _to string) error
- func (_Btsperiphery *BtsperipheryCaller) HasPendingRequest(opts *bind.CallOpts) (bool, error)
- func (_Btsperiphery *BtsperipheryCaller) Requests(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_Btsperiphery *BtsperipheryCaller) ServiceName(opts *bind.CallOpts) (string, error)
- type BtsperipheryCallerRaw
- type BtsperipheryCallerSession
- func (_Btsperiphery *BtsperipheryCallerSession) CheckParseAddress(_to string) error
- func (_Btsperiphery *BtsperipheryCallerSession) HasPendingRequest() (bool, error)
- func (_Btsperiphery *BtsperipheryCallerSession) Requests(arg0 *big.Int) (struct{ ... }, error)
- func (_Btsperiphery *BtsperipheryCallerSession) ServiceName() (string, error)
- type BtsperipheryFilterer
- func (_Btsperiphery *BtsperipheryFilterer) FilterTransferEnd(opts *bind.FilterOpts, _from []common.Address) (*BtsperipheryTransferEndIterator, error)
- func (_Btsperiphery *BtsperipheryFilterer) FilterTransferReceived(opts *bind.FilterOpts, _from []string, _to []common.Address) (*BtsperipheryTransferReceivedIterator, error)
- func (_Btsperiphery *BtsperipheryFilterer) FilterTransferStart(opts *bind.FilterOpts, _from []common.Address) (*BtsperipheryTransferStartIterator, error)
- func (_Btsperiphery *BtsperipheryFilterer) FilterUnknownResponse(opts *bind.FilterOpts) (*BtsperipheryUnknownResponseIterator, error)
- func (_Btsperiphery *BtsperipheryFilterer) ParseTransferEnd(log types.Log) (*BtsperipheryTransferEnd, error)
- func (_Btsperiphery *BtsperipheryFilterer) ParseTransferReceived(log types.Log) (*BtsperipheryTransferReceived, error)
- func (_Btsperiphery *BtsperipheryFilterer) ParseTransferStart(log types.Log) (*BtsperipheryTransferStart, error)
- func (_Btsperiphery *BtsperipheryFilterer) ParseUnknownResponse(log types.Log) (*BtsperipheryUnknownResponse, error)
- func (_Btsperiphery *BtsperipheryFilterer) WatchTransferEnd(opts *bind.WatchOpts, sink chan<- *BtsperipheryTransferEnd, ...) (event.Subscription, error)
- func (_Btsperiphery *BtsperipheryFilterer) WatchTransferReceived(opts *bind.WatchOpts, sink chan<- *BtsperipheryTransferReceived, ...) (event.Subscription, error)
- func (_Btsperiphery *BtsperipheryFilterer) WatchTransferStart(opts *bind.WatchOpts, sink chan<- *BtsperipheryTransferStart, ...) (event.Subscription, error)
- func (_Btsperiphery *BtsperipheryFilterer) WatchUnknownResponse(opts *bind.WatchOpts, sink chan<- *BtsperipheryUnknownResponse) (event.Subscription, error)
- type BtsperipheryRaw
- func (_Btsperiphery *BtsperipheryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Btsperiphery *BtsperipheryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Btsperiphery *BtsperipheryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BtsperipherySession
- func (_Btsperiphery *BtsperipherySession) CheckParseAddress(_to string) error
- func (_Btsperiphery *BtsperipherySession) HandleBTPError(arg0 string, _svc string, _sn *big.Int, _code *big.Int, _msg string) (*types.Transaction, error)
- func (_Btsperiphery *BtsperipherySession) HandleBTPMessage(_from string, _svc string, _sn *big.Int, _msg []byte) (*types.Transaction, error)
- func (_Btsperiphery *BtsperipherySession) HandleFeeGathering(_fa string, _svc string) (*types.Transaction, error)
- func (_Btsperiphery *BtsperipherySession) HandleRequestService(_to string, _assets []TypesAsset) (*types.Transaction, error)
- func (_Btsperiphery *BtsperipherySession) HasPendingRequest() (bool, error)
- func (_Btsperiphery *BtsperipherySession) Initialize(_bmc common.Address, _btsCore common.Address) (*types.Transaction, error)
- func (_Btsperiphery *BtsperipherySession) Requests(arg0 *big.Int) (struct{ ... }, error)
- func (_Btsperiphery *BtsperipherySession) SendServiceMessage(_from common.Address, _to string, _coinNames []string, _values []*big.Int, ...) (*types.Transaction, error)
- func (_Btsperiphery *BtsperipherySession) ServiceName() (string, error)
- type BtsperipheryTransactor
- func (_Btsperiphery *BtsperipheryTransactor) HandleBTPError(opts *bind.TransactOpts, arg0 string, _svc string, _sn *big.Int, ...) (*types.Transaction, error)
- func (_Btsperiphery *BtsperipheryTransactor) HandleBTPMessage(opts *bind.TransactOpts, _from string, _svc string, _sn *big.Int, _msg []byte) (*types.Transaction, error)
- func (_Btsperiphery *BtsperipheryTransactor) HandleFeeGathering(opts *bind.TransactOpts, _fa string, _svc string) (*types.Transaction, error)
- func (_Btsperiphery *BtsperipheryTransactor) HandleRequestService(opts *bind.TransactOpts, _to string, _assets []TypesAsset) (*types.Transaction, error)
- func (_Btsperiphery *BtsperipheryTransactor) Initialize(opts *bind.TransactOpts, _bmc common.Address, _btsCore common.Address) (*types.Transaction, error)
- func (_Btsperiphery *BtsperipheryTransactor) SendServiceMessage(opts *bind.TransactOpts, _from common.Address, _to string, _coinNames []string, ...) (*types.Transaction, error)
- type BtsperipheryTransactorRaw
- type BtsperipheryTransactorSession
- func (_Btsperiphery *BtsperipheryTransactorSession) HandleBTPError(arg0 string, _svc string, _sn *big.Int, _code *big.Int, _msg string) (*types.Transaction, error)
- func (_Btsperiphery *BtsperipheryTransactorSession) HandleBTPMessage(_from string, _svc string, _sn *big.Int, _msg []byte) (*types.Transaction, error)
- func (_Btsperiphery *BtsperipheryTransactorSession) HandleFeeGathering(_fa string, _svc string) (*types.Transaction, error)
- func (_Btsperiphery *BtsperipheryTransactorSession) HandleRequestService(_to string, _assets []TypesAsset) (*types.Transaction, error)
- func (_Btsperiphery *BtsperipheryTransactorSession) Initialize(_bmc common.Address, _btsCore common.Address) (*types.Transaction, error)
- func (_Btsperiphery *BtsperipheryTransactorSession) SendServiceMessage(_from common.Address, _to string, _coinNames []string, _values []*big.Int, ...) (*types.Transaction, error)
- type BtsperipheryTransferEnd
- type BtsperipheryTransferEndIterator
- type BtsperipheryTransferReceived
- type BtsperipheryTransferReceivedIterator
- type BtsperipheryTransferStart
- type BtsperipheryTransferStartIterator
- type BtsperipheryUnknownResponse
- type BtsperipheryUnknownResponseIterator
- type TypesAsset
- type TypesAssetTransferDetail
Constants ¶
const BtsperipheryABI = "" /* 5093-byte string literal not displayed */
BtsperipheryABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Btsperiphery ¶
type Btsperiphery struct { BtsperipheryCaller // Read-only binding to the contract BtsperipheryTransactor // Write-only binding to the contract BtsperipheryFilterer // Log filterer for contract events }
Btsperiphery is an auto generated Go binding around an Ethereum contract.
func NewBtsperiphery ¶
func NewBtsperiphery(address common.Address, backend bind.ContractBackend) (*Btsperiphery, error)
NewBtsperiphery creates a new instance of Btsperiphery, bound to a specific deployed contract.
type BtsperipheryCaller ¶
type BtsperipheryCaller struct {
// contains filtered or unexported fields
}
BtsperipheryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBtsperipheryCaller ¶
func NewBtsperipheryCaller(address common.Address, caller bind.ContractCaller) (*BtsperipheryCaller, error)
NewBtsperipheryCaller creates a new read-only instance of Btsperiphery, bound to a specific deployed contract.
func (*BtsperipheryCaller) CheckParseAddress ¶
func (_Btsperiphery *BtsperipheryCaller) CheckParseAddress(opts *bind.CallOpts, _to string) error
CheckParseAddress is a free data retrieval call binding the contract method 0xc7a6d7fe.
Solidity: function checkParseAddress(string _to) pure returns()
func (*BtsperipheryCaller) HasPendingRequest ¶
func (_Btsperiphery *BtsperipheryCaller) HasPendingRequest(opts *bind.CallOpts) (bool, error)
HasPendingRequest is a free data retrieval call binding the contract method 0x6bf39c09.
Solidity: function hasPendingRequest() view returns(bool)
func (*BtsperipheryCaller) Requests ¶
func (_Btsperiphery *BtsperipheryCaller) Requests(opts *bind.CallOpts, arg0 *big.Int) (struct { From string To string }, error)
Requests is a free data retrieval call binding the contract method 0x81d12c58.
Solidity: function requests(uint256 ) view returns(string from, string to)
func (*BtsperipheryCaller) ServiceName ¶
func (_Btsperiphery *BtsperipheryCaller) ServiceName(opts *bind.CallOpts) (string, error)
ServiceName is a free data retrieval call binding the contract method 0x9fdc7bc4.
Solidity: function serviceName() view returns(string)
type BtsperipheryCallerRaw ¶
type BtsperipheryCallerRaw struct {
Contract *BtsperipheryCaller // Generic read-only contract binding to access the raw methods on
}
BtsperipheryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BtsperipheryCallerRaw) Call ¶
func (_Btsperiphery *BtsperipheryCallerRaw) 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 BtsperipheryCallerSession ¶
type BtsperipheryCallerSession struct { Contract *BtsperipheryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BtsperipheryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*BtsperipheryCallerSession) CheckParseAddress ¶
func (_Btsperiphery *BtsperipheryCallerSession) CheckParseAddress(_to string) error
CheckParseAddress is a free data retrieval call binding the contract method 0xc7a6d7fe.
Solidity: function checkParseAddress(string _to) pure returns()
func (*BtsperipheryCallerSession) HasPendingRequest ¶
func (_Btsperiphery *BtsperipheryCallerSession) HasPendingRequest() (bool, error)
HasPendingRequest is a free data retrieval call binding the contract method 0x6bf39c09.
Solidity: function hasPendingRequest() view returns(bool)
func (*BtsperipheryCallerSession) Requests ¶
func (_Btsperiphery *BtsperipheryCallerSession) Requests(arg0 *big.Int) (struct { From string To string }, error)
Requests is a free data retrieval call binding the contract method 0x81d12c58.
Solidity: function requests(uint256 ) view returns(string from, string to)
func (*BtsperipheryCallerSession) ServiceName ¶
func (_Btsperiphery *BtsperipheryCallerSession) ServiceName() (string, error)
ServiceName is a free data retrieval call binding the contract method 0x9fdc7bc4.
Solidity: function serviceName() view returns(string)
type BtsperipheryFilterer ¶
type BtsperipheryFilterer struct {
// contains filtered or unexported fields
}
BtsperipheryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBtsperipheryFilterer ¶
func NewBtsperipheryFilterer(address common.Address, filterer bind.ContractFilterer) (*BtsperipheryFilterer, error)
NewBtsperipheryFilterer creates a new log filterer instance of Btsperiphery, bound to a specific deployed contract.
func (*BtsperipheryFilterer) FilterTransferEnd ¶
func (_Btsperiphery *BtsperipheryFilterer) FilterTransferEnd(opts *bind.FilterOpts, _from []common.Address) (*BtsperipheryTransferEndIterator, error)
FilterTransferEnd is a free log retrieval operation binding the contract event 0x9b4c002cf17443998e01f132ae99b7392665eec5422a33a1d2dc47308c59b6e2.
Solidity: event TransferEnd(address indexed _from, uint256 _sn, uint256 _code, string _response)
func (*BtsperipheryFilterer) FilterTransferReceived ¶
func (_Btsperiphery *BtsperipheryFilterer) FilterTransferReceived(opts *bind.FilterOpts, _from []string, _to []common.Address) (*BtsperipheryTransferReceivedIterator, error)
FilterTransferReceived is a free log retrieval operation binding the contract event 0x78e3e55e26c08e043fbd9cc0282f53e2caab096d30594cb476fcdfbbe7ce8680.
Solidity: event TransferReceived(string indexed _from, address indexed _to, uint256 _sn, (string,uint256)[] _assetDetails)
func (*BtsperipheryFilterer) FilterTransferStart ¶
func (_Btsperiphery *BtsperipheryFilterer) FilterTransferStart(opts *bind.FilterOpts, _from []common.Address) (*BtsperipheryTransferStartIterator, error)
FilterTransferStart is a free log retrieval operation binding the contract event 0x50d22373bb84ed1f9eeb581c913e6d45d918c05f8b1d90f0be168f06a4e6994a.
Solidity: event TransferStart(address indexed _from, string _to, uint256 _sn, (string,uint256,uint256)[] _assetDetails)
func (*BtsperipheryFilterer) FilterUnknownResponse ¶
func (_Btsperiphery *BtsperipheryFilterer) FilterUnknownResponse(opts *bind.FilterOpts) (*BtsperipheryUnknownResponseIterator, error)
FilterUnknownResponse is a free log retrieval operation binding the contract event 0x0e2e04e992df368a336276b84416f1b66f8aaca143ea47e284b229cc9f10a889.
Solidity: event UnknownResponse(string _from, uint256 _sn)
func (*BtsperipheryFilterer) ParseTransferEnd ¶
func (_Btsperiphery *BtsperipheryFilterer) ParseTransferEnd(log types.Log) (*BtsperipheryTransferEnd, error)
ParseTransferEnd is a log parse operation binding the contract event 0x9b4c002cf17443998e01f132ae99b7392665eec5422a33a1d2dc47308c59b6e2.
Solidity: event TransferEnd(address indexed _from, uint256 _sn, uint256 _code, string _response)
func (*BtsperipheryFilterer) ParseTransferReceived ¶
func (_Btsperiphery *BtsperipheryFilterer) ParseTransferReceived(log types.Log) (*BtsperipheryTransferReceived, error)
ParseTransferReceived is a log parse operation binding the contract event 0x78e3e55e26c08e043fbd9cc0282f53e2caab096d30594cb476fcdfbbe7ce8680.
Solidity: event TransferReceived(string indexed _from, address indexed _to, uint256 _sn, (string,uint256)[] _assetDetails)
func (*BtsperipheryFilterer) ParseTransferStart ¶
func (_Btsperiphery *BtsperipheryFilterer) ParseTransferStart(log types.Log) (*BtsperipheryTransferStart, error)
ParseTransferStart is a log parse operation binding the contract event 0x50d22373bb84ed1f9eeb581c913e6d45d918c05f8b1d90f0be168f06a4e6994a.
Solidity: event TransferStart(address indexed _from, string _to, uint256 _sn, (string,uint256,uint256)[] _assetDetails)
func (*BtsperipheryFilterer) ParseUnknownResponse ¶
func (_Btsperiphery *BtsperipheryFilterer) ParseUnknownResponse(log types.Log) (*BtsperipheryUnknownResponse, error)
ParseUnknownResponse is a log parse operation binding the contract event 0x0e2e04e992df368a336276b84416f1b66f8aaca143ea47e284b229cc9f10a889.
Solidity: event UnknownResponse(string _from, uint256 _sn)
func (*BtsperipheryFilterer) WatchTransferEnd ¶
func (_Btsperiphery *BtsperipheryFilterer) WatchTransferEnd(opts *bind.WatchOpts, sink chan<- *BtsperipheryTransferEnd, _from []common.Address) (event.Subscription, error)
WatchTransferEnd is a free log subscription operation binding the contract event 0x9b4c002cf17443998e01f132ae99b7392665eec5422a33a1d2dc47308c59b6e2.
Solidity: event TransferEnd(address indexed _from, uint256 _sn, uint256 _code, string _response)
func (*BtsperipheryFilterer) WatchTransferReceived ¶
func (_Btsperiphery *BtsperipheryFilterer) WatchTransferReceived(opts *bind.WatchOpts, sink chan<- *BtsperipheryTransferReceived, _from []string, _to []common.Address) (event.Subscription, error)
WatchTransferReceived is a free log subscription operation binding the contract event 0x78e3e55e26c08e043fbd9cc0282f53e2caab096d30594cb476fcdfbbe7ce8680.
Solidity: event TransferReceived(string indexed _from, address indexed _to, uint256 _sn, (string,uint256)[] _assetDetails)
func (*BtsperipheryFilterer) WatchTransferStart ¶
func (_Btsperiphery *BtsperipheryFilterer) WatchTransferStart(opts *bind.WatchOpts, sink chan<- *BtsperipheryTransferStart, _from []common.Address) (event.Subscription, error)
WatchTransferStart is a free log subscription operation binding the contract event 0x50d22373bb84ed1f9eeb581c913e6d45d918c05f8b1d90f0be168f06a4e6994a.
Solidity: event TransferStart(address indexed _from, string _to, uint256 _sn, (string,uint256,uint256)[] _assetDetails)
func (*BtsperipheryFilterer) WatchUnknownResponse ¶
func (_Btsperiphery *BtsperipheryFilterer) WatchUnknownResponse(opts *bind.WatchOpts, sink chan<- *BtsperipheryUnknownResponse) (event.Subscription, error)
WatchUnknownResponse is a free log subscription operation binding the contract event 0x0e2e04e992df368a336276b84416f1b66f8aaca143ea47e284b229cc9f10a889.
Solidity: event UnknownResponse(string _from, uint256 _sn)
type BtsperipheryRaw ¶
type BtsperipheryRaw struct {
Contract *Btsperiphery // Generic contract binding to access the raw methods on
}
BtsperipheryRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BtsperipheryRaw) Call ¶
func (_Btsperiphery *BtsperipheryRaw) 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 (*BtsperipheryRaw) Transact ¶
func (_Btsperiphery *BtsperipheryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BtsperipheryRaw) Transfer ¶
func (_Btsperiphery *BtsperipheryRaw) 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 BtsperipherySession ¶
type BtsperipherySession struct { Contract *Btsperiphery // 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 }
BtsperipherySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*BtsperipherySession) CheckParseAddress ¶
func (_Btsperiphery *BtsperipherySession) CheckParseAddress(_to string) error
CheckParseAddress is a free data retrieval call binding the contract method 0xc7a6d7fe.
Solidity: function checkParseAddress(string _to) pure returns()
func (*BtsperipherySession) HandleBTPError ¶
func (_Btsperiphery *BtsperipherySession) HandleBTPError(arg0 string, _svc string, _sn *big.Int, _code *big.Int, _msg string) (*types.Transaction, error)
HandleBTPError is a paid mutator transaction binding the contract method 0x0a823dea.
Solidity: function handleBTPError(string , string _svc, uint256 _sn, uint256 _code, string _msg) returns()
func (*BtsperipherySession) HandleBTPMessage ¶
func (_Btsperiphery *BtsperipherySession) HandleBTPMessage(_from string, _svc string, _sn *big.Int, _msg []byte) (*types.Transaction, error)
HandleBTPMessage is a paid mutator transaction binding the contract method 0xb70eeb8d.
Solidity: function handleBTPMessage(string _from, string _svc, uint256 _sn, bytes _msg) returns()
func (*BtsperipherySession) HandleFeeGathering ¶
func (_Btsperiphery *BtsperipherySession) HandleFeeGathering(_fa string, _svc string) (*types.Transaction, error)
HandleFeeGathering is a paid mutator transaction binding the contract method 0x3842888c.
Solidity: function handleFeeGathering(string _fa, string _svc) returns()
func (*BtsperipherySession) HandleRequestService ¶
func (_Btsperiphery *BtsperipherySession) HandleRequestService(_to string, _assets []TypesAsset) (*types.Transaction, error)
HandleRequestService is a paid mutator transaction binding the contract method 0xdd129575.
Solidity: function handleRequestService(string _to, (string,uint256)[] _assets) returns()
func (*BtsperipherySession) HasPendingRequest ¶
func (_Btsperiphery *BtsperipherySession) HasPendingRequest() (bool, error)
HasPendingRequest is a free data retrieval call binding the contract method 0x6bf39c09.
Solidity: function hasPendingRequest() view returns(bool)
func (*BtsperipherySession) Initialize ¶
func (_Btsperiphery *BtsperipherySession) Initialize(_bmc common.Address, _btsCore common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x485cc955.
Solidity: function initialize(address _bmc, address _btsCore) returns()
func (*BtsperipherySession) Requests ¶
func (_Btsperiphery *BtsperipherySession) Requests(arg0 *big.Int) (struct { From string To string }, error)
Requests is a free data retrieval call binding the contract method 0x81d12c58.
Solidity: function requests(uint256 ) view returns(string from, string to)
func (*BtsperipherySession) SendServiceMessage ¶
func (_Btsperiphery *BtsperipherySession) SendServiceMessage(_from common.Address, _to string, _coinNames []string, _values []*big.Int, _fees []*big.Int) (*types.Transaction, error)
SendServiceMessage is a paid mutator transaction binding the contract method 0xd7c37995.
Solidity: function sendServiceMessage(address _from, string _to, string[] _coinNames, uint256[] _values, uint256[] _fees) returns()
func (*BtsperipherySession) ServiceName ¶
func (_Btsperiphery *BtsperipherySession) ServiceName() (string, error)
ServiceName is a free data retrieval call binding the contract method 0x9fdc7bc4.
Solidity: function serviceName() view returns(string)
type BtsperipheryTransactor ¶
type BtsperipheryTransactor struct {
// contains filtered or unexported fields
}
BtsperipheryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBtsperipheryTransactor ¶
func NewBtsperipheryTransactor(address common.Address, transactor bind.ContractTransactor) (*BtsperipheryTransactor, error)
NewBtsperipheryTransactor creates a new write-only instance of Btsperiphery, bound to a specific deployed contract.
func (*BtsperipheryTransactor) HandleBTPError ¶
func (_Btsperiphery *BtsperipheryTransactor) HandleBTPError(opts *bind.TransactOpts, arg0 string, _svc string, _sn *big.Int, _code *big.Int, _msg string) (*types.Transaction, error)
HandleBTPError is a paid mutator transaction binding the contract method 0x0a823dea.
Solidity: function handleBTPError(string , string _svc, uint256 _sn, uint256 _code, string _msg) returns()
func (*BtsperipheryTransactor) HandleBTPMessage ¶
func (_Btsperiphery *BtsperipheryTransactor) HandleBTPMessage(opts *bind.TransactOpts, _from string, _svc string, _sn *big.Int, _msg []byte) (*types.Transaction, error)
HandleBTPMessage is a paid mutator transaction binding the contract method 0xb70eeb8d.
Solidity: function handleBTPMessage(string _from, string _svc, uint256 _sn, bytes _msg) returns()
func (*BtsperipheryTransactor) HandleFeeGathering ¶
func (_Btsperiphery *BtsperipheryTransactor) HandleFeeGathering(opts *bind.TransactOpts, _fa string, _svc string) (*types.Transaction, error)
HandleFeeGathering is a paid mutator transaction binding the contract method 0x3842888c.
Solidity: function handleFeeGathering(string _fa, string _svc) returns()
func (*BtsperipheryTransactor) HandleRequestService ¶
func (_Btsperiphery *BtsperipheryTransactor) HandleRequestService(opts *bind.TransactOpts, _to string, _assets []TypesAsset) (*types.Transaction, error)
HandleRequestService is a paid mutator transaction binding the contract method 0xdd129575.
Solidity: function handleRequestService(string _to, (string,uint256)[] _assets) returns()
func (*BtsperipheryTransactor) Initialize ¶
func (_Btsperiphery *BtsperipheryTransactor) Initialize(opts *bind.TransactOpts, _bmc common.Address, _btsCore common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x485cc955.
Solidity: function initialize(address _bmc, address _btsCore) returns()
func (*BtsperipheryTransactor) SendServiceMessage ¶
func (_Btsperiphery *BtsperipheryTransactor) SendServiceMessage(opts *bind.TransactOpts, _from common.Address, _to string, _coinNames []string, _values []*big.Int, _fees []*big.Int) (*types.Transaction, error)
SendServiceMessage is a paid mutator transaction binding the contract method 0xd7c37995.
Solidity: function sendServiceMessage(address _from, string _to, string[] _coinNames, uint256[] _values, uint256[] _fees) returns()
type BtsperipheryTransactorRaw ¶
type BtsperipheryTransactorRaw struct {
Contract *BtsperipheryTransactor // Generic write-only contract binding to access the raw methods on
}
BtsperipheryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BtsperipheryTransactorRaw) Transact ¶
func (_Btsperiphery *BtsperipheryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BtsperipheryTransactorRaw) Transfer ¶
func (_Btsperiphery *BtsperipheryTransactorRaw) 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 BtsperipheryTransactorSession ¶
type BtsperipheryTransactorSession struct { Contract *BtsperipheryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BtsperipheryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*BtsperipheryTransactorSession) HandleBTPError ¶
func (_Btsperiphery *BtsperipheryTransactorSession) HandleBTPError(arg0 string, _svc string, _sn *big.Int, _code *big.Int, _msg string) (*types.Transaction, error)
HandleBTPError is a paid mutator transaction binding the contract method 0x0a823dea.
Solidity: function handleBTPError(string , string _svc, uint256 _sn, uint256 _code, string _msg) returns()
func (*BtsperipheryTransactorSession) HandleBTPMessage ¶
func (_Btsperiphery *BtsperipheryTransactorSession) HandleBTPMessage(_from string, _svc string, _sn *big.Int, _msg []byte) (*types.Transaction, error)
HandleBTPMessage is a paid mutator transaction binding the contract method 0xb70eeb8d.
Solidity: function handleBTPMessage(string _from, string _svc, uint256 _sn, bytes _msg) returns()
func (*BtsperipheryTransactorSession) HandleFeeGathering ¶
func (_Btsperiphery *BtsperipheryTransactorSession) HandleFeeGathering(_fa string, _svc string) (*types.Transaction, error)
HandleFeeGathering is a paid mutator transaction binding the contract method 0x3842888c.
Solidity: function handleFeeGathering(string _fa, string _svc) returns()
func (*BtsperipheryTransactorSession) HandleRequestService ¶
func (_Btsperiphery *BtsperipheryTransactorSession) HandleRequestService(_to string, _assets []TypesAsset) (*types.Transaction, error)
HandleRequestService is a paid mutator transaction binding the contract method 0xdd129575.
Solidity: function handleRequestService(string _to, (string,uint256)[] _assets) returns()
func (*BtsperipheryTransactorSession) Initialize ¶
func (_Btsperiphery *BtsperipheryTransactorSession) Initialize(_bmc common.Address, _btsCore common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x485cc955.
Solidity: function initialize(address _bmc, address _btsCore) returns()
func (*BtsperipheryTransactorSession) SendServiceMessage ¶
func (_Btsperiphery *BtsperipheryTransactorSession) SendServiceMessage(_from common.Address, _to string, _coinNames []string, _values []*big.Int, _fees []*big.Int) (*types.Transaction, error)
SendServiceMessage is a paid mutator transaction binding the contract method 0xd7c37995.
Solidity: function sendServiceMessage(address _from, string _to, string[] _coinNames, uint256[] _values, uint256[] _fees) returns()
type BtsperipheryTransferEnd ¶
type BtsperipheryTransferEnd struct { From common.Address Sn *big.Int Code *big.Int Response string Raw types.Log // Blockchain specific contextual infos }
BtsperipheryTransferEnd represents a TransferEnd event raised by the Btsperiphery contract.
type BtsperipheryTransferEndIterator ¶
type BtsperipheryTransferEndIterator struct { Event *BtsperipheryTransferEnd // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BtsperipheryTransferEndIterator is returned from FilterTransferEnd and is used to iterate over the raw logs and unpacked data for TransferEnd events raised by the Btsperiphery contract.
func (*BtsperipheryTransferEndIterator) Close ¶
func (it *BtsperipheryTransferEndIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BtsperipheryTransferEndIterator) Error ¶
func (it *BtsperipheryTransferEndIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BtsperipheryTransferEndIterator) Next ¶
func (it *BtsperipheryTransferEndIterator) 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 BtsperipheryTransferReceived ¶
type BtsperipheryTransferReceived struct { From common.Hash To common.Address Sn *big.Int AssetDetails []TypesAsset Raw types.Log // Blockchain specific contextual infos }
BtsperipheryTransferReceived represents a TransferReceived event raised by the Btsperiphery contract.
type BtsperipheryTransferReceivedIterator ¶
type BtsperipheryTransferReceivedIterator struct { Event *BtsperipheryTransferReceived // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BtsperipheryTransferReceivedIterator is returned from FilterTransferReceived and is used to iterate over the raw logs and unpacked data for TransferReceived events raised by the Btsperiphery contract.
func (*BtsperipheryTransferReceivedIterator) Close ¶
func (it *BtsperipheryTransferReceivedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BtsperipheryTransferReceivedIterator) Error ¶
func (it *BtsperipheryTransferReceivedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BtsperipheryTransferReceivedIterator) Next ¶
func (it *BtsperipheryTransferReceivedIterator) 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 BtsperipheryTransferStart ¶
type BtsperipheryTransferStart struct { From common.Address To string Sn *big.Int AssetDetails []TypesAssetTransferDetail Raw types.Log // Blockchain specific contextual infos }
BtsperipheryTransferStart represents a TransferStart event raised by the Btsperiphery contract.
type BtsperipheryTransferStartIterator ¶
type BtsperipheryTransferStartIterator struct { Event *BtsperipheryTransferStart // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BtsperipheryTransferStartIterator is returned from FilterTransferStart and is used to iterate over the raw logs and unpacked data for TransferStart events raised by the Btsperiphery contract.
func (*BtsperipheryTransferStartIterator) Close ¶
func (it *BtsperipheryTransferStartIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BtsperipheryTransferStartIterator) Error ¶
func (it *BtsperipheryTransferStartIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BtsperipheryTransferStartIterator) Next ¶
func (it *BtsperipheryTransferStartIterator) 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 BtsperipheryUnknownResponse ¶
type BtsperipheryUnknownResponse struct { From string Sn *big.Int Raw types.Log // Blockchain specific contextual infos }
BtsperipheryUnknownResponse represents a UnknownResponse event raised by the Btsperiphery contract.
type BtsperipheryUnknownResponseIterator ¶
type BtsperipheryUnknownResponseIterator struct { Event *BtsperipheryUnknownResponse // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BtsperipheryUnknownResponseIterator is returned from FilterUnknownResponse and is used to iterate over the raw logs and unpacked data for UnknownResponse events raised by the Btsperiphery contract.
func (*BtsperipheryUnknownResponseIterator) Close ¶
func (it *BtsperipheryUnknownResponseIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BtsperipheryUnknownResponseIterator) Error ¶
func (it *BtsperipheryUnknownResponseIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BtsperipheryUnknownResponseIterator) Next ¶
func (it *BtsperipheryUnknownResponseIterator) 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 TypesAsset ¶
TypesAsset is an auto generated low-level Go binding around an user-defined struct.