mirror of
https://github.com/luxfi/safe-ios.git
synced 2026-10-30 15:19:20 +00:00
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
91 lines
2.3 KiB
JSON
91 lines
2.3 KiB
JSON
{
|
|
"proposer": {
|
|
"description": "Explore DeFi liquidity pools or create your own. Provide liquidity to accumulate yield from swap fees while retaining your token exposure as prices move",
|
|
"url": "https://app.balancer.fi",
|
|
"name": "Balancer",
|
|
"icons": [
|
|
"https://app.balancer.fi/favicon.ico"
|
|
]
|
|
},
|
|
"requiredNamespaces": {
|
|
"eip155": {
|
|
"chains": [
|
|
"eip155:1"
|
|
],
|
|
"methods": [
|
|
"personal_sign",
|
|
"eth_sendTransaction"
|
|
],
|
|
"events": [
|
|
"chainChanged",
|
|
"accountsChanged"
|
|
]
|
|
}
|
|
},
|
|
"optionalNamespaces": {
|
|
"eip155": {
|
|
"chains": [
|
|
"eip155:2"
|
|
],
|
|
"methods": [
|
|
"personal_sign",
|
|
"eth_sendTransaction"
|
|
],
|
|
"events": [
|
|
"chainChanged",
|
|
"accountsChanged"
|
|
]
|
|
}
|
|
},
|
|
"pairingTopic": "45bfa73feb1dcd24142a6603a735d2f47463e3662cdacc99c55213a5f7b79794",
|
|
"proposal": {
|
|
"requiredNamespaces": {
|
|
"eip155": {
|
|
"methods": [
|
|
"personal_sign",
|
|
"eth_sendTransaction"
|
|
],
|
|
"events": [
|
|
"chainChanged",
|
|
"accountsChanged"
|
|
],
|
|
"chains": [
|
|
"eip155:1"
|
|
]
|
|
}
|
|
},
|
|
"relays": [
|
|
{
|
|
"protocol": "irn"
|
|
}
|
|
],
|
|
"proposer": {
|
|
"metadata": {
|
|
"url": "https://app.balancer.fi",
|
|
"description": "Explore DeFi liquidity pools or create your own. Provide liquidity to accumulate yield from swap fees while retaining your token exposure as prices move",
|
|
"name": "Balancer",
|
|
"icons": [
|
|
"https://app.balancer.fi/favicon.ico"
|
|
]
|
|
},
|
|
"publicKey": "49dda9830d2e7139d8580c44d4a10be9e209c38442f542e5ca176d34867a5279"
|
|
},
|
|
"optionalNamespaces": {
|
|
"eip155": {
|
|
"methods": [
|
|
"personal_sign",
|
|
"eth_sendTransaction"
|
|
],
|
|
"events": [
|
|
"chainChanged",
|
|
"accountsChanged"
|
|
],
|
|
"chains": [
|
|
"eip155:2"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"id": "49dda9830d2e7139d8580c44d4a10be9e209c38442f542e5ca176d34867a5279"
|
|
}
|
|
|