Documentation
¶
Index ¶
- Constants
- type Blockchain
- func (b *Blockchain) GetIntermediatorAddr() ethereum.Address
- func (b *Blockchain) SendETHFromAccountToExchange(amount *big.Int, exchangeAddress ethereum.Address) (*types.Transaction, error)
- func (b *Blockchain) SendTokenFromAccountToExchange(amount *big.Int, exchangeAddress ethereum.Address, ...) (*types.Transaction, error)
Constants ¶
View Source
const HuobiOP string = "huobi_op"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Blockchain ¶
type Blockchain struct {
*blockchain.BaseBlockchain
}
func NewBlockchain ¶
func NewBlockchain( base *blockchain.BaseBlockchain, signer blockchain.Signer, nonce blockchain.NonceCorpus) (*Blockchain, error)
func (*Blockchain) GetIntermediatorAddr ¶
func (b *Blockchain) GetIntermediatorAddr() ethereum.Address
func (*Blockchain) SendETHFromAccountToExchange ¶
func (b *Blockchain) SendETHFromAccountToExchange(amount *big.Int, exchangeAddress ethereum.Address) (*types.Transaction, error)
func (*Blockchain) SendTokenFromAccountToExchange ¶
func (b *Blockchain) SendTokenFromAccountToExchange(amount *big.Int, exchangeAddress ethereum.Address, tokenAddress ethereum.Address) (*types.Transaction, error)
Click to show internal directories.
Click to hide internal directories.