func (e *Exchange) DepositEtherFrom(wallet *Wallet, value *big.Int) (*types.Transaction, error) {
	e.SetTxValue(value)
	e.SetCustomSender(wallet)

	tx, err := e.Contract.DepositEther(e.TxOptions)
	if err != nil {
		return nil, err
	}

	e.SetDefaultTxOptions()
	return tx, nil
}
// DepositEtherFrom deposits ether from a custom address. The transaction sender is reset
// after the transaction is carried out.
DepositEtherFrom deposits ether from a custom address. The transaction sender is reset
after the transaction is carried out.
// DepositEtherFrom deposits ether from a custom address . The transaction sender is reset // after the transaction is carried out .
func (e *Exchange) DepositEtherFrom(wallet *Wallet, value *big.Int) (*types.Transaction, error) {
	e.SetTxValue(value)
	e.SetCustomSender(wallet)
	tx, err := e.Contract.DepositEther(e.TxOptions)
	if err != nil {
		return nil, err
	}
	e.SetDefaultTxOptions()
	return tx, nil
}
func ( e * Exchange ) DepositEtherFrom ( wallet * Wallet , value * big . Int ) ( * types . Transaction , error ) { e . SetTxValue ( value ) e . SetCustomSender ( wallet ) tx , err := e . Contract . DepositEther ( e . TxOptions ) if err != nil { return nil , err } e . SetDefaultTxOptions ( ) return tx , nil }
DepositEtherFrom deposits ether from a custom address.
DepositEtherFrom deposits ether from a custom address .