Skip to content

Commit

Permalink
Merge pull request #1710 from BalancerMaxis/bip-cow-tokenswap-approve…
Browse files Browse the repository at this point in the history
…-paylaod

[BIP-770] Balancer x CoWSwap Strategic Alignment Tokenswap
  • Loading branch information
gosuto-inzasheru authored Feb 3, 2025
2 parents e3e1530 + 70b0105 commit ea22376
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 0 deletions.
40 changes: 40 additions & 0 deletions BIPs/2025-W6/BIP-770-cow-tokenswap.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"version": "1.0",
"chainId": "1",
"createdAt": 1738070746762,
"meta": {
"name": "Transactions Batch",
"description": "Approve tokenswap amounts on the COW-BAL tokenwswap contract",
"txBuilderVersion": "1.18.0",
"createdFromSafeAddress": "0x10A19e7eE7d7F8a52822f6817de8ea18204F2e4f",
"createdFromOwnerAddress": "",
"checksum": "0x38a39191ffa26d29c67fec344e9549c715cfb5db6408a26568112fb0a58da66b"
},
"transactions": [
{
"to": "0xba100000625a3754423978a60c9317c58a424e3D",
"value": "0",
"data": null,
"contractMethod": {
"inputs": [
{
"name": "spender",
"type": "address",
"internalType": "address"
},
{
"name": "amount",
"type": "uint256",
"internalType": "uint256"
}
],
"name": "approve",
"payable": false
},
"contractInputsValues": {
"spender": "0xdBe554ee86FEb0b1c0ac4743503D46cbDF0e8B54",
"amount": "200000000000000000000000"
}
}
]
}
20 changes: 20 additions & 0 deletions BIPs/2025-W6/BIP-770-cow-tokenswap.report.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
FILENAME: `BIPs/2025-W6/BIP-770-cow-tokenswap.json`
MULTISIG: `multisigs/dao (mainnet:0x10A19e7eE7d7F8a52822f6817de8ea18204F2e4f)`
COMMIT: `0f45b603edc3f446177c88daa0d6cf6f7e0f5a83`
CHAIN(S): `mainnet`
TENDERLY: [`🟩 SUCCESS`](https://www.tdly.co/shared/simulation/31328e1c-52f0-4af1-b518-cdc80c2e58ba)

```
+---------+---------------------------------------------------------+-------+----------------------------------------------------------------------------------------+------------+----------+
| fx_name | to | value | inputs | bip_number | tx_index |
+---------+---------------------------------------------------------+-------+----------------------------------------------------------------------------------------+------------+----------+
| approve | 0xba100000625a3754423978a60c9317c58a424e3D (tokens/BAL) | 0 | { | BIP-770 | N/A |
| | | | "spender": [ | | |
| | | | "0xdBe554ee86FEb0b1c0ac4743503D46cbDF0e8B54 (helpers/otc_escrow_bal_cow)" | | |
| | | | ], | | |
| | | | "amount": [ | | |
| | | | "raw:200000000000000000000000, 18 decimals:200000, 6 decimals: 200000000000000000" | | |
| | | | ] | | |
| | | | } | | |
+---------+---------------------------------------------------------+-------+----------------------------------------------------------------------------------------+------------+----------+
```

0 comments on commit ea22376

Please sign in to comment.