import {StepFunctionDataPoint} from 'kyber-fpr-sdk/src/conversion_rates_contract.js'StepFunctionDataPoint
Constructor Summary
| Public Constructor | ||
| public |
constructor(x: *, y: *) Create a new StepFunctionDataPoint. |
|
Member Summary
| Public Members | ||
| public get |
x: * |
|
| public set |
|
|
| public get |
y: * |
|
| public set |
|
|
| Private Members | ||
| private |
_x: * |
|
| private |
_y: * |
|
Public Constructors
public constructor(x: *, y: *) source
Create a new StepFunctionDataPoint.
Params:
| Name | Type | Attribute | Description |
| x | * | {int} - buy step in wei amount |
|
| y | * | {int} - impact on buy rate in basis points (bps). 1 bps = 0.01% |
