STRGetter.sol

View Source: contracts/STRGetter.sol

↗ Extends: EternalStorage ↘ Derived Contracts: MockSTRGetter

STRGetter

Contract Members

Constants & Variables

bytes32 internal constant STLAUNCHFEE;
bytes32 internal constant TICKERREGFEE;
bytes32 internal constant EXPIRYLIMIT;
bytes32 internal constant IS_FEE_IN_POLY;

Functions

getTickersByOwner

Returns the list of tickers owned by the selected address

Arguments

Name

Type

Description

_owner

address

is the address which owns the list of tickers

_ownerInTicker

Arguments

Name

Type

Description

_ticker

bytes32

getTokensByOwner

Returns the list of tokens owned by the selected address

Arguments

Name

Type

Description

_owner

address

is the address which owns the list of tickers

getTokens

Returns the list of all tokens

Arguments

Name

Type

Description

_getTokens

Returns the list of tokens owned by the selected address

Arguments

Name

Type

Description

_allTokens

bool

if _allTokens is true returns all tokens despite on the second parameter

_owner

address

is the address which owns the list of tickers

_ownerInToken

Arguments

Name

Type

Description

_ticker

bytes32

_allTokens

bool

_owner

address

getTokensByDelegate

Returns the list of tokens to which the delegate has some access

Arguments

Name

Type

Description

_delegate

address

is the address for the delegate

_delegateInToken

Arguments

Name

Type

Description

_token

address

_delegate

address

getTickerDetails

Returns the owner and timestamp for a given ticker

Returns

address

Arguments

Name

Type

Description

_ticker

string

is the ticker symbol

getSecurityTokenAddress

Returns the security token address by ticker symbol

Returns

address

Arguments

Name

Type

Description

_ticker

string

is the ticker of the security token

getSecurityTokenData

Returns the security token data by address

Returns

string is the ticker of the security Token.

Arguments

Name

Type

Description

_securityToken

address

is the address of the security token.

getSTFactoryAddress

Returns the current STFactory Address

Arguments

Name

Type

Description

getSTFactoryAddressOfVersion

Returns the STFactory Address of a particular version

Arguments

Name

Type

Description

_protocolVersion

uint256

Packed protocol version

getLatestProtocolVersion

Gets Protocol version

Arguments

Name

Type

Description

getIsFeeInPoly

Gets the fee currency

Returns

true = poly, false = usd

Arguments

Name

Type

Description

getExpiryLimit

Gets the expiry limit

Returns

Expiry limit

Arguments

Name

Type

Description

getTickerStatus

Gets the status of the ticker

Returns

bool

Arguments

Name

Type

Description

_ticker

string

Ticker whose status need to determine

getTickerOwner

Gets the owner of the ticker

Returns

address Address of the owner

Arguments

Name

Type

Description

_ticker

string

Ticker whose owner need to determine

Last updated

Was this helpful?