39 lines
949 B
JavaScript
39 lines
949 B
JavaScript
export const reservedEvents = [
|
|
"session_request",
|
|
"session_update",
|
|
"exchange_key",
|
|
"connect",
|
|
"disconnect",
|
|
"display_uri",
|
|
"modal_closed",
|
|
"transport_open",
|
|
"transport_close",
|
|
"transport_error",
|
|
];
|
|
export const signingMethods = [
|
|
"eth_sendTransaction",
|
|
"eth_signTransaction",
|
|
"eth_sign",
|
|
"eth_signTypedData",
|
|
"eth_signTypedData_v1",
|
|
"eth_signTypedData_v2",
|
|
"eth_signTypedData_v3",
|
|
"eth_signTypedData_v4",
|
|
"personal_sign",
|
|
"wallet_addEthereumChain",
|
|
"wallet_switchEthereumChain",
|
|
"wallet_getPermissions",
|
|
"wallet_requestPermissions",
|
|
"wallet_registerOnboarding",
|
|
"wallet_watchAsset",
|
|
"wallet_scanQRCode",
|
|
];
|
|
export const stateMethods = ["eth_accounts", "eth_chainId", "net_version"];
|
|
export const infuraNetworks = {
|
|
1: "mainnet",
|
|
3: "ropsten",
|
|
4: "rinkeby",
|
|
5: "goerli",
|
|
42: "kovan",
|
|
};
|
|
//# sourceMappingURL=constants.js.map
|