diff --git a/src/util/constants.ts b/src/util/constants.ts index d2254131..5b5c23e2 100644 --- a/src/util/constants.ts +++ b/src/util/constants.ts @@ -1,5 +1,5 @@ export const API_URL = { - dev: 'https://celoni.vocdoni.net/v2', + dev: 'https://api-dev.vocdoni.net/v2', stg: 'https://api-stg.vocdoni.net/v2', prod: 'https://api.vocdoni.net/v2', }; @@ -17,7 +17,7 @@ export const CENSUS3_URL = { }; export const FAUCET_URL = { - dev: 'https://celoni.vocdoni.net/v2/faucet/dev', + dev: 'https://faucet-azeno.vocdoni.net/faucet/vocdoni/dev', stg: 'https://faucet-azeno.vocdoni.net/faucet/vocdoni/stage', }; @@ -39,15 +39,15 @@ export const VOCDONI_SIK_PAYLOAD = export const CENSUS_CHUNK_SIZE = 8192; export enum TxMessage { - REGISTER_SIK = 'Signing a Vocdoni transaction of type REGISTER_SIK for secret identity key {sik}. The hash of the transaction is {hash} and the destination chainID is {chainId}.', - SET_ACCOUNT = 'Signing a Vocdoni transaction of type SET_ACCOUNT/{type}. The hash of the transaction is {hash} and the destination chainID is {chainId}.', - CREATE_ACCOUNT = 'Signing a Vocdoni transaction of type CREATE_ACCOUNT for address {address}. The hash of the transaction is {hash} and the destination chainID is {chainId}.', - UPDATE_ACCOUNT = 'Signing a Vocdoni transaction of type SET_ACCOUNT_INFO_URI for address {address} with URI {uri}. The hash of the transaction is {hash} and the destination chainID is {chainId}.', - COLLECT_FAUCET = 'Signing a Vocdoni transaction of type COLLECT_FAUCET. The hash of the transaction is {hash} and the destination chainID is {chainId}.', - SEND_TOKENS = 'Signing a Vocdoni transaction of type SEND_TOKENS for an amount of {amount} VOC tokens to destination address {to}. The hash of the transaction is {hash} and the destination chainID is {chainId}.', - NEW_PROCESS = 'Signing a Vocdoni transaction of type NEW_PROCESS. The hash of the transaction is {hash} and the destination chainID is {chainId}.', - SET_PROCESS = 'Signing a Vocdoni transaction of type SET_PROCESS/{type} with process ID {processId}. The hash of the transaction is {hash} and the destination chainID is {chainId}.', - SET_PROCESS_CENSUS = 'Signing a Vocdoni transaction of type SET_PROCESS_CENSUS for process ID {processId} and census {censusId}. The hash of the transaction is {hash} and the destination chainID is {chainId}.', - SET_PROCESS_STATUS = 'Signing a Vocdoni transaction of type SET_PROCESS_STATUS for process ID {processId} and status {status}. The hash of the transaction is {hash} and the destination chainID is {chainId}.', - VOTE = 'Signing a Vocdoni transaction of type VOTE for process ID {processId}. The hash of the transaction is {hash} and the destination chainID is {chainId}.', + REGISTER_SIK = 'You are signing a Vocdoni transaction of type REGISTER_SIK for secret identity key {sik}.\n\nThe hash of this transaction is {hash} and the destination chain is {chainId}.', + SET_ACCOUNT = 'You are signing a Vocdoni transaction of type SET_ACCOUNT/{type}.\n\nThe hash of this transaction is {hash} and the destination chain is {chainId}.', + CREATE_ACCOUNT = 'You are signing a Vocdoni transaction of type CREATE_ACCOUNT for address {address}.\n\nThe hash of this transaction is {hash} and the destination chain is {chainId}.', + UPDATE_ACCOUNT = 'You are signing a Vocdoni transaction of type SET_ACCOUNT_INFO_URI for address {address} with URI {uri}.\n\nThe hash of this transaction is {hash} and the destination chain is {chainId}.', + COLLECT_FAUCET = 'You are signing a Vocdoni transaction of type COLLECT_FAUCET.\n\nThe hash of this transaction is {hash} and the destination chain is {chainId}.', + SEND_TOKENS = 'You are signing a Vocdoni transaction of type SEND_TOKENS for an amount of {amount} VOC tokens to destination address {to}.\n\nThe hash of this transaction is {hash} and the destination chain is {chainId}.', + NEW_PROCESS = 'You are signing a Vocdoni transaction of type NEW_PROCESS.\n\nThe hash of this transaction is {hash} and the destination chain is {chainId}.', + SET_PROCESS = 'You are signing a Vocdoni transaction of type SET_PROCESS/{type} with process ID {processId}.\n\nThe hash of this transaction is {hash} and the destination chain is {chainId}.', + SET_PROCESS_CENSUS = 'You are signing a Vocdoni transaction of type SET_PROCESS_CENSUS for process ID {processId} and census {censusId}.\n\nThe hash of this transaction is {hash} and the destination chain is {chainId}.', + SET_PROCESS_STATUS = 'You are signing a Vocdoni transaction of type SET_PROCESS_STATUS for process ID {processId} and status {status}.\n\nThe hash of this transaction is {hash} and the destination chain is {chainId}.', + VOTE = 'You are signing a Vocdoni transaction of type VOTE for process ID {processId}.\n\nThe hash of this transaction is {hash} and the destination chain is {chainId}.', }