Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USDC_Arbi_CowPools_Extension #1353

Merged
merged 4 commits into from
Sep 19, 2024
Merged

USDC_Arbi_CowPools_Extension #1353

merged 4 commits into from
Sep 19, 2024

Conversation

Zen-Maxi
Copy link
Collaborator

Owner: Zen Dragon

Take time reviewing as this is a fund handling payload. It will not be loaded until approved and merged. Goal is to bridge 20,000 USDC from the LM Multisig on mainnet to the LM Multisig on Arbitrum. This will be distributed at discretion of the Maxis towards Cow AMM pools in exchange for BAL which will be distributed in it's place towards veBAL holders.

Owner: Zen Dragon

Take time reviewing as this is a fund handling payload. It will not be loaded until approved and merged. Goal is to bridge 20,000 USDC from the LM Multisig on mainnet to the LM Multisig on Arbitrum. This will be distributed at discretion of the Maxis towards Cow AMM pools in exchange for BAL which will be distributed in it's place towards veBAL holders.
Copy link
Contributor

FILENAME: MaxiOps/CCTP_Bridge/send/USDC_Arbi_CowPools_Extension.json
COMMIT: a9891657edc4e89a9f019127cd20c095d4e5d25f

Validator Result
validate_contains_msig
validate_msig_in_address_book
validate_chain_specified
validate_file_has_bip ❌ (No BIP number found in file path MaxiOps/CCTP_Bridge/send/USDC_Arbi_CowPools_Extension.json)
validate_path_has_weekly_dir ❌ (File MaxiOps/CCTP_Bridge/send/USDC_Arbi_CowPools_Extension.json has has no YYYY-W## in path)

Copy link
Contributor

FILENAME: MaxiOps/CCTP_Bridge/send/USDC_Arbi_CowPools_Extension.json
MULTISIG: multisigs/lm (mainnet:0xc38c5f97B34E175FFd35407fc91a937300E33860)
COMMIT: a9891657edc4e89a9f019127cd20c095d4e5d25f
CHAIN(S): mainnet
TENDERLY: 🟩 SUCCESS

+----------------+--------------------------------------------------------------------+-------+--------------------------------------------------------------------------+------------+----------+
| fx_name        | to                                                                 | value | inputs                                                                   | bip_number | tx_index |
+----------------+--------------------------------------------------------------------+-------+--------------------------------------------------------------------------+------------+----------+
| approve        | 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 (tokens/USDC)           | 0     | {                                                                        | N/A        |   N/A    |
|                |                                                                    |       |   "spender": [                                                           |            |          |
|                |                                                                    |       |     "0xBd3fa81B58Ba92a82136038B25aDec7066af3155 (circle/cctp_messenger)" |            |          |
|                |                                                                    |       |   ],                                                                     |            |          |
|                |                                                                    |       |   "value": [                                                             |            |          |
|                |                                                                    |       |     "raw:20000000000, 18 decimals:2E-8, 6 decimals: 20000"               |            |          |
|                |                                                                    |       |   ]                                                                      |            |          |
|                |                                                                    |       | }                                                                        |            |          |
| depositForBurn | 0xBd3fa81B58Ba92a82136038B25aDec7066af3155 (circle/cctp_messenger) | 0     | {                                                                        | N/A        |   N/A    |
|                |                                                                    |       |   "amount": [                                                            |            |          |
|                |                                                                    |       |     "raw:20000000000, 18 decimals:2E-8, 6 decimals: 20000"               |            |          |
|                |                                                                    |       |   ],                                                                     |            |          |
|                |                                                                    |       |   "destinationDomain": [                                                 |            |          |
|                |                                                                    |       |     "3"                                                                  |            |          |
|                |                                                                    |       |   ],                                                                     |            |          |
|                |                                                                    |       |   "mintRecipient": [                                                     |            |          |
|                |                                                                    |       |     "0x000000000000000000000000c38c5f97B34E175FFd35407fc91a937300E33860" |            |          |
|                |                                                                    |       |   ],                                                                     |            |          |
|                |                                                                    |       |   "burnToken": [                                                         |            |          |
|                |                                                                    |       |     "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 (tokens/USDC)"           |            |          |
|                |                                                                    |       |   ]                                                                      |            |          |
|                |                                                                    |       | }                                                                        |            |          |
+----------------+--------------------------------------------------------------------+-------+--------------------------------------------------------------------------+------------+----------+

Copy link
Member

@gosuto-inzasheru gosuto-inzasheru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no diff with previous bridge payload except for timestamp and amount

Omni chain multisig will repay the USDC spent in BAL from the allocated incentives program. The average price is 1.85 USD/BAL and previous transfer of 15000 USDC plus this 20000 USDC will be covered.

Net 35000 USDC / 1.85 = 18918.919 BAL
Copy link
Contributor

FILENAME: MaxiOps/CCTP_Bridge/send/USDC_Arbi_CowPools_Extension.json
COMMIT: 7e0067064a89758283ac98f6c02e9040b13ea4dd

Validator Result
validate_contains_msig
validate_msig_in_address_book
validate_chain_specified
validate_file_has_bip ❌ (No BIP number found in file path MaxiOps/CCTP_Bridge/send/USDC_Arbi_CowPools_Extension.json)
validate_path_has_weekly_dir ❌ (File MaxiOps/CCTP_Bridge/send/USDC_Arbi_CowPools_Extension.json has has no YYYY-W## in path)

FILENAME: MaxiOps/brib_rebate_handling/09-2024/BAL-USDC-Cow-Swap-Exchange.json
COMMIT: 7e0067064a89758283ac98f6c02e9040b13ea4dd

Validator Result
validate_contains_msig
validate_msig_in_address_book
validate_chain_specified
validate_file_has_bip ❌ (No BIP number found in file path MaxiOps/brib_rebate_handling/09-2024/BAL-USDC-Cow-Swap-Exchange.json)
validate_path_has_weekly_dir ❌ (File MaxiOps/brib_rebate_handling/09-2024/BAL-USDC-Cow-Swap-Exchange.json has has no YYYY-W## in path)

Copy link
Contributor

FILENAME: MaxiOps/brib_rebate_handling/09-2024/BAL-USDC-Cow-Swap-Exchange.json
MULTISIG: multisigs/vote_incentive_recycling (mainnet:0x9ff471F9f98F42E5151C7855fD1b5aa906b1AF7e)
COMMIT: 7e0067064a89758283ac98f6c02e9040b13ea4dd
CHAIN(S): mainnet
TENDERLY: 🟩 SUCCESS

+----------+------------------------------------------------+---------------------------------------------------------+------------------------------------------+-----+----------+
| function | token_symbol                                   | recipient                                               | amount                                   | bip | tx_index |
+----------+------------------------------------------------+---------------------------------------------------------+------------------------------------------+-----+----------+
| transfer | BAL:0xba100000625a3754423978a60c9317c58a424e3D | multisigs/lm:0xc38c5f97B34E175FFd35407fc91a937300E33860 | 18918.919 (RAW: 18918919000000000000000) | N/A |    0     |
+----------+------------------------------------------------+---------------------------------------------------------+------------------------------------------+-----+----------+

FILENAME: MaxiOps/CCTP_Bridge/send/USDC_Arbi_CowPools_Extension.json
MULTISIG: multisigs/lm (mainnet:0xc38c5f97B34E175FFd35407fc91a937300E33860)
COMMIT: 7e0067064a89758283ac98f6c02e9040b13ea4dd
CHAIN(S): mainnet
TENDERLY: 🟩 SUCCESS

+----------------+--------------------------------------------------------------------+-------+--------------------------------------------------------------------------+------------+----------+
| fx_name        | to                                                                 | value | inputs                                                                   | bip_number | tx_index |
+----------------+--------------------------------------------------------------------+-------+--------------------------------------------------------------------------+------------+----------+
| approve        | 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 (tokens/USDC)           | 0     | {                                                                        | N/A        |   N/A    |
|                |                                                                    |       |   "spender": [                                                           |            |          |
|                |                                                                    |       |     "0xBd3fa81B58Ba92a82136038B25aDec7066af3155 (circle/cctp_messenger)" |            |          |
|                |                                                                    |       |   ],                                                                     |            |          |
|                |                                                                    |       |   "value": [                                                             |            |          |
|                |                                                                    |       |     "raw:20000000000, 18 decimals:2E-8, 6 decimals: 20000"               |            |          |
|                |                                                                    |       |   ]                                                                      |            |          |
|                |                                                                    |       | }                                                                        |            |          |
| depositForBurn | 0xBd3fa81B58Ba92a82136038B25aDec7066af3155 (circle/cctp_messenger) | 0     | {                                                                        | N/A        |   N/A    |
|                |                                                                    |       |   "amount": [                                                            |            |          |
|                |                                                                    |       |     "raw:20000000000, 18 decimals:2E-8, 6 decimals: 20000"               |            |          |
|                |                                                                    |       |   ],                                                                     |            |          |
|                |                                                                    |       |   "destinationDomain": [                                                 |            |          |
|                |                                                                    |       |     "3"                                                                  |            |          |
|                |                                                                    |       |   ],                                                                     |            |          |
|                |                                                                    |       |   "mintRecipient": [                                                     |            |          |
|                |                                                                    |       |     "0x000000000000000000000000c38c5f97B34E175FFd35407fc91a937300E33860" |            |          |
|                |                                                                    |       |   ],                                                                     |            |          |
|                |                                                                    |       |   "burnToken": [                                                         |            |          |
|                |                                                                    |       |     "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 (tokens/USDC)"           |            |          |
|                |                                                                    |       |   ]                                                                      |            |          |
|                |                                                                    |       | }                                                                        |            |          |
+----------------+--------------------------------------------------------------------+-------+--------------------------------------------------------------------------+------------+----------+

@Zen-Maxi Zen-Maxi merged commit bfff7cc into main Sep 19, 2024
@Zen-Maxi Zen-Maxi deleted the USDC_Arbi_CowPools_Extension branch September 19, 2024 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants