Constructor
# new SwapRouter(options)
SwapRouter Object
Parameters:
Name | Type | Description |
---|---|---|
options |
SwapRouter~Options
|
Type Definitions
Object
# Options
Properties:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
_factory |
address
|
|||
_WETH9 |
address
|
|||
test |
Boolean
|
|||
localtest |
Boolean
|
|||
web3Connection |
Web3Connection
|
<optional> |
Web3Connection | |
contractAddress |
address
|
<optional> |