btsperiphery

package
v0.0.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const BtsperipheryABI = "" /* 6845-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) Blacklist

func (_Btsperiphery *BtsperipheryCaller) Blacklist(opts *bind.CallOpts, arg0 common.Address) (bool, error)

Blacklist is a free data retrieval call binding the contract method 0xf9f92be4.

Solidity: function blacklist(address ) view returns(bool)

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) CheckTransferRestrictions

func (_Btsperiphery *BtsperipheryCaller) CheckTransferRestrictions(opts *bind.CallOpts, _coinName string, _user common.Address, _value *big.Int) error

CheckTransferRestrictions is a free data retrieval call binding the contract method 0xb148f625.

Solidity: function checkTransferRestrictions(string _coinName, address _user, uint256 _value) view 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)

func (*BtsperipheryCaller) TokenLimit

func (_Btsperiphery *BtsperipheryCaller) TokenLimit(opts *bind.CallOpts, arg0 string) (*big.Int, error)

TokenLimit is a free data retrieval call binding the contract method 0x9b61557d.

Solidity: function tokenLimit(string ) view returns(uint256)

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) Blacklist

func (_Btsperiphery *BtsperipheryCallerSession) Blacklist(arg0 common.Address) (bool, error)

Blacklist is a free data retrieval call binding the contract method 0xf9f92be4.

Solidity: function blacklist(address ) view returns(bool)

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) CheckTransferRestrictions

func (_Btsperiphery *BtsperipheryCallerSession) CheckTransferRestrictions(_coinName string, _user common.Address, _value *big.Int) error

CheckTransferRestrictions is a free data retrieval call binding the contract method 0xb148f625.

Solidity: function checkTransferRestrictions(string _coinName, address _user, uint256 _value) view 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)

func (*BtsperipheryCallerSession) TokenLimit

func (_Btsperiphery *BtsperipheryCallerSession) TokenLimit(arg0 string) (*big.Int, error)

TokenLimit is a free data retrieval call binding the contract method 0x9b61557d.

Solidity: function tokenLimit(string ) view returns(uint256)

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) FilterInitialized

func (_Btsperiphery *BtsperipheryFilterer) FilterInitialized(opts *bind.FilterOpts) (*BtsperipheryInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

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) ParseInitialized

func (_Btsperiphery *BtsperipheryFilterer) ParseInitialized(log types.Log) (*BtsperipheryInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

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) WatchInitialized

func (_Btsperiphery *BtsperipheryFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *BtsperipheryInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

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 BtsperipheryInitialized

type BtsperipheryInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

BtsperipheryInitialized represents a Initialized event raised by the Btsperiphery contract.

type BtsperipheryInitializedIterator

type BtsperipheryInitializedIterator struct {
	Event *BtsperipheryInitialized // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BtsperipheryInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Btsperiphery contract.

func (*BtsperipheryInitializedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BtsperipheryInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BtsperipheryInitializedIterator) Next

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 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) AddToBlacklist

func (_Btsperiphery *BtsperipherySession) AddToBlacklist(_address []string) (*types.Transaction, error)

AddToBlacklist is a paid mutator transaction binding the contract method 0x4b716a84.

Solidity: function addToBlacklist(string[] _address) returns()

func (*BtsperipherySession) Blacklist

func (_Btsperiphery *BtsperipherySession) Blacklist(arg0 common.Address) (bool, error)

Blacklist is a free data retrieval call binding the contract method 0xf9f92be4.

Solidity: function blacklist(address ) view returns(bool)

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) CheckTransferRestrictions

func (_Btsperiphery *BtsperipherySession) CheckTransferRestrictions(_coinName string, _user common.Address, _value *big.Int) error

CheckTransferRestrictions is a free data retrieval call binding the contract method 0xb148f625.

Solidity: function checkTransferRestrictions(string _coinName, address _user, uint256 _value) view 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) RemoveFromBlacklist

func (_Btsperiphery *BtsperipherySession) RemoveFromBlacklist(_address []string) (*types.Transaction, error)

RemoveFromBlacklist is a paid mutator transaction binding the contract method 0xc925d633.

Solidity: function removeFromBlacklist(string[] _address) 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)

func (*BtsperipherySession) SetTokenLimit

func (_Btsperiphery *BtsperipherySession) SetTokenLimit(_coinNames []string, _tokenLimits []*big.Int) (*types.Transaction, error)

SetTokenLimit is a paid mutator transaction binding the contract method 0x52647fc4.

Solidity: function setTokenLimit(string[] _coinNames, uint256[] _tokenLimits) returns()

func (*BtsperipherySession) TokenLimit

func (_Btsperiphery *BtsperipherySession) TokenLimit(arg0 string) (*big.Int, error)

TokenLimit is a free data retrieval call binding the contract method 0x9b61557d.

Solidity: function tokenLimit(string ) view returns(uint256)

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) AddToBlacklist

func (_Btsperiphery *BtsperipheryTransactor) AddToBlacklist(opts *bind.TransactOpts, _address []string) (*types.Transaction, error)

AddToBlacklist is a paid mutator transaction binding the contract method 0x4b716a84.

Solidity: function addToBlacklist(string[] _address) returns()

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) RemoveFromBlacklist

func (_Btsperiphery *BtsperipheryTransactor) RemoveFromBlacklist(opts *bind.TransactOpts, _address []string) (*types.Transaction, error)

RemoveFromBlacklist is a paid mutator transaction binding the contract method 0xc925d633.

Solidity: function removeFromBlacklist(string[] _address) 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()

func (*BtsperipheryTransactor) SetTokenLimit

func (_Btsperiphery *BtsperipheryTransactor) SetTokenLimit(opts *bind.TransactOpts, _coinNames []string, _tokenLimits []*big.Int) (*types.Transaction, error)

SetTokenLimit is a paid mutator transaction binding the contract method 0x52647fc4.

Solidity: function setTokenLimit(string[] _coinNames, uint256[] _tokenLimits) 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) AddToBlacklist

func (_Btsperiphery *BtsperipheryTransactorSession) AddToBlacklist(_address []string) (*types.Transaction, error)

AddToBlacklist is a paid mutator transaction binding the contract method 0x4b716a84.

Solidity: function addToBlacklist(string[] _address) returns()

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) RemoveFromBlacklist

func (_Btsperiphery *BtsperipheryTransactorSession) RemoveFromBlacklist(_address []string) (*types.Transaction, error)

RemoveFromBlacklist is a paid mutator transaction binding the contract method 0xc925d633.

Solidity: function removeFromBlacklist(string[] _address) 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()

func (*BtsperipheryTransactorSession) SetTokenLimit

func (_Btsperiphery *BtsperipheryTransactorSession) SetTokenLimit(_coinNames []string, _tokenLimits []*big.Int) (*types.Transaction, error)

SetTokenLimit is a paid mutator transaction binding the contract method 0x52647fc4.

Solidity: function setTokenLimit(string[] _coinNames, uint256[] _tokenLimits) 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

Close terminates the iteration process, releasing any pending underlying resources.

func (*BtsperipheryTransferEndIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BtsperipheryTransferEndIterator) Next

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*BtsperipheryTransferReceivedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BtsperipheryTransferReceivedIterator) Next

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*BtsperipheryTransferStartIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BtsperipheryTransferStartIterator) Next

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*BtsperipheryUnknownResponseIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BtsperipheryUnknownResponseIterator) Next

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

type TypesAsset struct {
	CoinName string
	Value    *big.Int
}

TypesAsset is an auto generated low-level Go binding around an user-defined struct.

type TypesAssetTransferDetail

type TypesAssetTransferDetail struct {
	CoinName string
	Value    *big.Int
	Fee      *big.Int
}

TypesAssetTransferDetail is an auto generated low-level Go binding around an user-defined struct.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL