Documentation ¶
Index ¶
- Constants
- type Engine
- func (engine *Engine) BitcoinAddressGenerator() *bitcoin.AddressGenerator
- func (engine *Engine) EthereumAddressGenerator() *ethereum.AddressGenerator
- func (engine *Engine) MinimumValueBtc() string
- func (engine *Engine) MinimumValueEth() string
- func (engine *Engine) MinimumValueSat() int64
- func (engine *Engine) MinimumValueWei() *big.Int
- func (engine *Engine) SetDelegate(handler interfaces.SwapEngineHandler)
- func (engine *Engine) SetQueue(queue queue.Queue)
- func (engine *Engine) SetStorage(storage storage.Storage)
- func (engine *Engine) SignerPublicKey() common.Address
- func (engine *Engine) Start() error
- func (engine *Engine) TomochainAccountConfigurator() *tomochain.AccountConfigurator
- func (engine *Engine) TransactionsQueue() queue.Queue
Constants ¶
View Source
const ProtocolVersion int = 2
JS SDK use to communicate.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
func (*Engine) BitcoinAddressGenerator ¶
func (engine *Engine) BitcoinAddressGenerator() *bitcoin.AddressGenerator
func (*Engine) EthereumAddressGenerator ¶
func (engine *Engine) EthereumAddressGenerator() *ethereum.AddressGenerator
public method to access private properties, this avoids setting props directly cause mistmatch from config
func (*Engine) MinimumValueBtc ¶
func (*Engine) MinimumValueEth ¶
func (*Engine) MinimumValueSat ¶
func (*Engine) MinimumValueWei ¶
func (*Engine) SetDelegate ¶
func (engine *Engine) SetDelegate(handler interfaces.SwapEngineHandler)
func (*Engine) SetStorage ¶
SetStorage : update storage mechanism
func (*Engine) SignerPublicKey ¶
func (*Engine) TomochainAccountConfigurator ¶
func (engine *Engine) TomochainAccountConfigurator() *tomochain.AccountConfigurator
func (*Engine) TransactionsQueue ¶
Click to show internal directories.
Click to hide internal directories.