Skip to content

Commit

Permalink
Added new signatures for certain transactions and restored default `d…
Browse files Browse the repository at this point in the history
…ev` URLs
  • Loading branch information
marcvelmer committed Oct 9, 2023
1 parent 00ebc85 commit 7e1cb49
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions src/util/constants.ts
Original file line number Diff line number Diff line change
@@ -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',
};
Expand All @@ -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',
};

Expand All @@ -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}.',
}

0 comments on commit 7e1cb49

Please sign in to comment.