Home Reference Source
import {TokenControlInfo} from 'kyber-fpr-sdk/src/conversion_rates_contract.js'
public class | source

TokenControlInfo

TokenControlInfo is the configurations of a ERC20 token.

Constructor Summary

Public Constructor
public

constructor(minimalRecordResolution: *, maxPerBlockImbalance: *, maxTotalImbalance: *)

Create a new TokenControlInfo instance.

Member Summary

Public Members
public get
public set
public get
public set
public get
public set
Private Members
private
private
private

Public Constructors

public constructor(minimalRecordResolution: *, maxPerBlockImbalance: *, maxTotalImbalance: *) source

Create a new TokenControlInfo instance.

Params:

NameTypeAttributeDescription
minimalRecordResolution *

{uint} - minimum denominator in token wei that can be changed

maxPerBlockImbalance *

{uint} - maximum wei amount of net absolute (+/-) change for a token in an ethereum block

maxTotalImbalance *

{uint} - wei amount of the maximum net token change allowable that happens between 2 price updates

Public Members

public get maxPerBlockImbalance: * source

public set maxPerBlockImbalance source

public get maxTotalImbalance: * source

public set maxTotalImbalance source

public get minimalRecordResolution: * source

public set minimalRecordResolution source

Private Members

private _maxPerBlockImbalance: * source

private _maxTotalImbalance: * source

private _minimalRecordResolution: * source