Home Reference Source
public class | source

RateSetting

RateSetting represents the buy sell rates of a ERC20 token.

Constructor Summary

Public Constructor
public

constructor(address: string, buy: number, sell: number)

Create a new RateSetting instance.

Member Summary

Public Members
public get

address: *

public set
public get

buy: *

public set

buy

public get

sell: *

public set
Private Members
private
private

_buy: *

private

_sell: *

Public Constructors

public constructor(address: string, buy: number, sell: number) source

Create a new RateSetting instance.

Params:

NameTypeAttributeDescription
address string

ERC20 token address

buy number

buy rate per ETH

sell number

sell rate per ETH

Public Members

public get address: * source

public set address source

public get buy: * source

public set buy source

public get sell: * source

public set sell source

Private Members

private _address: * source

private _buy: * source

private _sell: * source