Files
Dmitry BespalovandGitHub 994b3ac23f GH-3262 rewrote approval function (#3392)
Changes proposed in this pull request:
- Interaction with the wc library extracted to a `ApproverImpl` class behind a testable interface
- Approving logic handles `requiredNamespaces` and `optionalNamespaces` correctly
- Added template-based tests for the approving function
2024-02-02 17:07:12 +01:00

39 lines
948 B
JSON

{
"eip155": {
"chains": [
"eip155:1",
"eip155:42161"
],
"accounts": [
"eip155:1:0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
"eip155:42161:0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE"
],
"methods": [
"eth_accounts",
"wallet_requestPermissions",
"wallet_getPermissions",
"personal_sign",
"eth_sign",
"wallet_scanQRCode",
"wallet_addEthereumChain",
"eth_signTypedData_v3",
"eth_signTypedData_v4",
"eth_sendRawTransaction",
"eth_sendTransaction",
"wallet_registerOnboarding",
"eth_signTypedData",
"eth_requestAccounts",
"eth_signTransaction",
"wallet_watchAsset",
"wallet_switchEthereumChain"
],
"events": [
"connect",
"message",
"chainChanged",
"accountsChanged",
"disconnect"
]
}
}