Uniswap class

Constructors

Uniswap()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

convertToBigInt(num value) BigInt
getAmountsOut({String rpc = 'https://api.bitstack.com/v1/wNFxbiJyQsSeLrX8RRCHi7NpRxrlErZk/DjShIqLishPCTB9HiMkPHXjUM9CNM9Na/ETH/mainnet', String router = '0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D', String token = '0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984', String tokenOut = '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', num val = 1}) Future<BigInt>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
swapExactETHForTokens(String credentials, num tokenAmount, String tokenOut, String recipient, int timestamp) Future<String>
swapExactTokensForTokens(String credentials, num amountInput, num amountOutput, String tokenIn, String tokenOut, String recipient, int timestamp) Future<String>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited