Package sg.dex.starfish.keeper
Class DexConfig
java.lang.Object
sg.dex.starfish.keeper.DexConfig
public class DexConfig extends Object
Class that keeps all the configurations to initialize the API
-
Field Summary
Fields Modifier and Type Field Description static String
DID_REGISTRY_ADDRESS
static String
DIRECT_PURCHASE_ADDRESS
static String
KEEPER_GAS_LIMIT
static String
KEEPER_GAS_PRICE
static String
KEEPER_TX_ATTEMPTS
static String
KEEPER_TX_SLEEPDURATION
static String
KEEPER_URL
static String
MAIN_ACCOUNT_ADDRESS
static String
MAIN_ACCOUNT_CREDENTIALS_FILE
static String
MAIN_ACCOUNT_PASSWORD
static String
PARITY_ACCOUNT_ADDRESS
static String
PARITY_ACCOUNT_PASSWORD
static String
TOKEN_ADDRESS
-
Constructor Summary
Constructors Constructor Description DexConfig()
-
Method Summary
-
Field Details
-
KEEPER_URL
- See Also:
- Constant Field Values
-
KEEPER_GAS_LIMIT
- See Also:
- Constant Field Values
-
KEEPER_GAS_PRICE
- See Also:
- Constant Field Values
-
KEEPER_TX_ATTEMPTS
- See Also:
- Constant Field Values
-
KEEPER_TX_SLEEPDURATION
- See Also:
- Constant Field Values
-
MAIN_ACCOUNT_ADDRESS
- See Also:
- Constant Field Values
-
MAIN_ACCOUNT_PASSWORD
- See Also:
- Constant Field Values
-
PARITY_ACCOUNT_ADDRESS
- See Also:
- Constant Field Values
-
PARITY_ACCOUNT_PASSWORD
- See Also:
- Constant Field Values
-
MAIN_ACCOUNT_CREDENTIALS_FILE
- See Also:
- Constant Field Values
-
DID_REGISTRY_ADDRESS
- See Also:
- Constant Field Values
-
DIRECT_PURCHASE_ADDRESS
- See Also:
- Constant Field Values
-
TOKEN_ADDRESS
- See Also:
- Constant Field Values
-
-
Constructor Details
-
DexConfig
public DexConfig()
-
-
Method Details
-
getKeeperUrl
-
setKeeperUrl
-
getKeeperGasLimit
-
setKeeperGasLimit
-
getKeeperGasPrice
-
setKeeperGasPrice
-
getKeeperTxAttempts
public int getKeeperTxAttempts() -
setKeeperTxAttempts
-
getKeeperTxSleepDuration
public long getKeeperTxSleepDuration() -
setKeeperTxSleepDuration
-
getDidRegistryAddress
-
getDirectPurchaseAddress
-
setDidRegistryAddress
-
setDirectPurchaseAddress
-
getMainAccountAddress
-
setMainAccountAddress
-
getParityAccountAddress
-
setParityAccountAddress
-
getMainAccountPassword
-
setMainAccountPassword
-
getParityAccountPassword
-
setParityAccountPassword
-
getMainAccountCredentialsFile
-
setMainAccountCredentialsFile
-
getTokenAddress
-
setTokenAddress
-