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

BIP-453 Deposit 160k BAL into Aave v3 #550

Merged
merged 4 commits into from Oct 13, 2023

Conversation

Zen-Maxi
Copy link
Collaborator

DAO Multisig approves the Aave v3 Proxy contract as the spender address of 160k BAL. Then the DAO Multisig supplies 160k BAL to the Aave v3 Contract on behalf of itself to receive the aTokens.

Simulation: https://dashboard.tenderly.co/public/safe/safe-apps/simulator/85b025b3-a822-44fd-ade9-dc6438f1b2e8

DAO Multisig approves the Aave v3 Proxy contract as the spender address of 160k BAL. Then the DAO Multisig supplies 160k BAL to the Aave v3 Contract on behalf of itself to receive the aTokens.
@github-actions
Copy link
Contributor

BIP validation results for file BIPs/2023-W41/BIP-XXX-Depost-160k-BAL-into-Aave-v3.json.json:
Commit: 7131e4e7fc75ffc6c0f102fe3a611fb305786935

+-------------------------------+-----------------------------------------------------------------------------------------------+
|           Validator           |                                             Result                                            |
+-------------------------------+-----------------------------------------------------------------------------------------------+
|     validate_contains_msig    |                                               OK                                              |
| validate_msig_in_address_book |                                               OK                                              |
|    validate_chain_specified   |                                               OK                                              |
|     validate_file_has_bip     | No BIP number found in file path BIPs/2023-W41/BIP-XXX-Depost-160k-BAL-into-Aave-v3.json.json |
|  validate_path_has_weekly_dir |                                               OK                                              |
+-------------------------------+-----------------------------------------------------------------------------------------------+

@github-actions
Copy link
Contributor

File name: BIPs/2023-W41/BIP-XXX-Depost-160k-BAL-into-Aave-v3.json.json
COMMIT: 7131e4e7fc75ffc6c0f102fe3a611fb305786935
CHAIN(S): 1

+-----------+---------------------------------------------------------+---------+----------------------------------------------------------------+--------------+------------+
| fx_name   | to                                                      |   value | inputs                                                         | bip_number   | tx_index   |
+===========+=========================================================+=========+================================================================+==============+============+
| approve   | 0xba100000625a3754423978a60c9317c58a424e3D (tokens/BAL) |       0 | {                                                              | N/A          | N/A        |
|           |                                                         |         |   "spender": [                                                 |              |            |
|           |                                                         |         |     "0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2 (N/A) "        |              |            |
|           |                                                         |         |   ],                                                           |              |            |
|           |                                                         |         |   "amount": "160000000000000000000000"                         |              |            |
|           |                                                         |         | }                                                              |              |            |
+-----------+---------------------------------------------------------+---------+----------------------------------------------------------------+--------------+------------+
| supply    | 0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2 (Not Found)  |       0 | {                                                              | N/A          | N/A        |
|           |                                                         |         |   "asset": [                                                   |              |            |
|           |                                                         |         |     "0xba100000625a3754423978a60c9317c58a424e3D (tokens/BAL) " |              |            |
|           |                                                         |         |   ],                                                           |              |            |
|           |                                                         |         |   "amount": "160000000000000000000000",                        |              |            |
|           |                                                         |         |   "onBehalfOf": "0x10A19e7eE7d7F8a52822f6817de8ea18204F2e4f",  |              |            |
|           |                                                         |         |   "referralCode": "0"                                          |              |            |
|           |                                                         |         | }                                                              |              |            |
+-----------+---------------------------------------------------------+---------+----------------------------------------------------------------+--------------+------------+

@Xeonus Xeonus changed the title BIP-XXX Deposit 160k BAL into Aave v3 BIP-453 Deposit 160k BAL into Aave v3 Oct 12, 2023
@github-actions
Copy link
Contributor

BIP validation results for file BIPs/2023-W41/BIP-453.json:
Commit: 85a5eca25989d6fd008391e6733eaf1c166f0ae0

+-------------------------------+--------+
|           Validator           | Result |
+-------------------------------+--------+
|     validate_contains_msig    |   OK   |
| validate_msig_in_address_book |   OK   |
|    validate_chain_specified   |   OK   |
|     validate_file_has_bip     |   OK   |
|  validate_path_has_weekly_dir |   OK   |
+-------------------------------+--------+

@github-actions
Copy link
Contributor

File name: BIPs/2023-W41/BIP-453.json
COMMIT: 85a5eca25989d6fd008391e6733eaf1c166f0ae0
CHAIN(S): 1

+-----------+---------------------------------------------------------+---------+----------------------------------------------------------------+--------------+------------+
| fx_name   | to                                                      |   value | inputs                                                         | bip_number   | tx_index   |
+===========+=========================================================+=========+================================================================+==============+============+
| approve   | 0xba100000625a3754423978a60c9317c58a424e3D (tokens/BAL) |       0 | {                                                              | BIP-453      | N/A        |
|           |                                                         |         |   "spender": [                                                 |              |            |
|           |                                                         |         |     "0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2 (N/A) "        |              |            |
|           |                                                         |         |   ],                                                           |              |            |
|           |                                                         |         |   "amount": "160000000000000000000000"                         |              |            |
|           |                                                         |         | }                                                              |              |            |
+-----------+---------------------------------------------------------+---------+----------------------------------------------------------------+--------------+------------+
| supply    | 0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2 (Not Found)  |       0 | {                                                              | BIP-453      | N/A        |
|           |                                                         |         |   "asset": [                                                   |              |            |
|           |                                                         |         |     "0xba100000625a3754423978a60c9317c58a424e3D (tokens/BAL) " |              |            |
|           |                                                         |         |   ],                                                           |              |            |
|           |                                                         |         |   "amount": "160000000000000000000000",                        |              |            |
|           |                                                         |         |   "onBehalfOf": "0x10A19e7eE7d7F8a52822f6817de8ea18204F2e4f",  |              |            |
|           |                                                         |         |   "referralCode": "0"                                          |              |            |
|           |                                                         |         | }                                                              |              |            |
+-----------+---------------------------------------------------------+---------+----------------------------------------------------------------+--------------+------------+

@Tritium-VLK Tritium-VLK merged commit 24a30e4 into main Oct 13, 2023
@Tritium-VLK Tritium-VLK deleted the BIP-XXX-Deposit-160K-BAL-into-Aave-v3 branch November 27, 2023 23:46
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.

None yet

3 participants