buyTokens

Exchanges given amount of ether for ether tokens, ratio 1:1. Returns simulated transaction promise. buyTokens(value, config, callback)

  • value: bigNumber
  • config: object
  • callback: function

sellTokens

Exchanges given amount of ether tokens for ether, ratio 1:1. Returns simulated transaction promise. sellTokens(count, config, callback)

  • count: bigNumber
  • config: object
  • callback: function