func (e *Exchange) DepositTokenFrom(wallet *Wallet, token Address, amount *big.Int) (*types.Transaction, error) {
	e.SetCustomSender(wallet)

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

	e.SetDefaultSender()
	return tx, err
}
// 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) DepositTokenFrom(wallet *Wallet, token Address, amount *big.Int) (*types.Transaction, error) {
	e.SetCustomSender(wallet)
	tx, err := e.Contract.DepositToken(e.TxOptions, token, amount)
	if err != nil {
		return nil, err
	}
	e.SetDefaultSender()
	return tx, err
}
func ( e * Exchange ) DepositTokenFrom ( wallet * Wallet , token Address , amount * big . Int ) ( * types . Transaction , error ) { e . SetCustomSender ( wallet ) tx , err := e . Contract . DepositToken ( e . TxOptions , token , amount ) if err != nil { return nil , err } e . SetDefaultSender ( ) return tx , err }
DepositEtherFrom deposits ether from a custom address.
DepositEtherFrom deposits ether from a custom address .