A Metamask fork with Infura removed and default networks editable
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
export const ALERT_TYPES = {
|
|
|
|
unconnectedAccount: 'unconnectedAccount',
|
|
|
|
web3ShimUsage: 'web3ShimUsage',
|
|
|
|
invalidCustomNetwork: 'invalidCustomNetwork',
|
|
|
|
};
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Alerts that can be enabled or disabled by the user.
|
|
|
|
*/
|
|
|
|
export const TOGGLEABLE_ALERT_TYPES = [
|
|
|
|
ALERT_TYPES.unconnectedAccount,
|
|
|
|
ALERT_TYPES.web3ShimUsage,
|
|
|
|
];
|
|
|
|
|
|
|
|
export const WEB3_SHIM_USAGE_ALERT_STATES = {
|
|
|
|
RECORDED: 1,
|
|
|
|
DISMISSED: 2,
|
|
|
|
};
|