-
Notifications
You must be signed in to change notification settings - Fork 274
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6d4568e
commit 401ef9c
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
from brownie import Flashloan, accounts | ||
|
||
AAVE_LENDING_POOL_ADDRESS_PROVIDER = "0x24a42fD28C976A61Df5D00D0599C34c4f90748c8" | ||
|
||
|
||
def main(): | ||
""" | ||
Deploy a `Flashloan` contract from `accounts[0]`. | ||
""" | ||
|
||
acct = accounts.load() # add your keystore ID as an argument to this call | ||
|
||
flashloan = Flashloan.deploy(AAVE_LENDING_POOL_ADDRESS_PROVIDER, {"from": acct}) | ||
return flashloan |