Skip to content

Commit

Permalink
feat: add basic deployment script
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdefinitelyahuman committed May 6, 2020
1 parent 6d4568e commit 401ef9c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions scripts/deployment.py
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

0 comments on commit 401ef9c

Please sign in to comment.