View Source: contracts/STRGetter.sol
↗ Extends: EternalStorage ↘ Derived Contracts: MockSTRGetter
STRGetter
Constants & Variables
bytes32 internal constant STLAUNCHFEE;bytes32 internal constant TICKERREGFEE;bytes32 internal constant EXPIRYLIMIT;bytes32 internal constant IS_FEE_IN_POLY;
Returns the list of tickers owned by the selected address
function getTickersByOwner(address _owner) external viewreturns(bytes32[])
Arguments
Name | Type | Description |
_owner | address | is the address which owns the list of tickers |
function _ownerInTicker(bytes32 _ticker) internal viewreturns(bool)
Arguments
Name | Type | Description |
_ticker | bytes32 | |
Returns the list of tokens owned by the selected address
function getTokensByOwner(address _owner) external viewreturns(address[])
Arguments
Name | Type | Description |
_owner | address | is the address which owns the list of tickers |
Returns the list of all tokens
function getTokens() public viewreturns(address[])
Arguments
Name | Type | Description |
Returns the list of tokens owned by the selected address
function _getTokens(bool _allTokens, address _owner) internal viewreturns(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 |
function _ownerInToken(bytes32 _ticker, bool _allTokens, address _owner) internal viewreturns(address)
Arguments
Name | Type | Description |
_ticker | bytes32 | |
_allTokens | bool | |
_owner | address | |
Returns the list of tokens to which the delegate has some access
function getTokensByDelegate(address _delegate) external viewreturns(address[])
Arguments
Name | Type | Description |
_delegate | address | is the address for the delegate |
function _delegateInToken(address _token, address _delegate) internal viewreturns(bool)
Arguments
Name | Type | Description |
_token | address | |
_delegate | address | |
Returns the owner and timestamp for a given ticker
function getTickerDetails(string _ticker) external viewreturns(address, uint256, uint256, string, bool)
Returns
address
Arguments
Name | Type | Description |
_ticker | string | is the ticker symbol |
Returns the security token address by ticker symbol
function getSecurityTokenAddress(string _ticker) external viewreturns(address)
Returns
address
Arguments
Name | Type | Description |
_ticker | string | is the ticker of the security token |
Returns the security token data by address
function getSecurityTokenData(address _securityToken) external viewreturns(string, address, string, uint256)
Returns
string is the ticker of the security Token.
Arguments
Name | Type | Description |
_securityToken | address | is the address of the security token. |
Returns the current STFactory Address
function getSTFactoryAddress() public viewreturns(address)
Arguments
Name | Type | Description |
Returns the STFactory Address of a particular version
function getSTFactoryAddressOfVersion(uint256 _protocolVersion) public viewreturns(address)
Arguments
Name | Type | Description |
_protocolVersion | uint256 | Packed protocol version |
Gets Protocol version
function getLatestProtocolVersion() public viewreturns(uint8[])
Arguments
Name | Type | Description |
Gets the fee currency
function getIsFeeInPoly() public viewreturns(bool)
Returns
true = poly, false = usd
Arguments
Name | Type | Description |
Gets the expiry limit
function getExpiryLimit() public viewreturns(uint256)
Returns
Expiry limit
Arguments
Name | Type | Description |
Gets the status of the ticker
function getTickerStatus(string _ticker) public viewreturns(bool)
Returns
bool
Arguments
Name | Type | Description |
_ticker | string | Ticker whose status need to determine |
Gets the owner of the ticker
function getTickerOwner(string _ticker) public viewreturns(address)
Returns
address Address of the owner
Arguments
Name | Type | Description |
_ticker | string | Ticker whose owner need to determine |