(Total Marks: 100) Practical Ethereum Tasks [20%]
This assignment will also partly act as a check to see if you have completed the various tasks in
each of the lectures on the Sepolia Ethereum testnet.
It will also act as an unofficial “participation” mark. If you attended lectures and followed the
exercises, then many of these tasks will be easy – you will have already completed a lot of this
assignment.
Make sure that you perform ALL tasks using ONE Ethereum address that’s been
registered at finscrypto.xyz/faucet.
(25 Marks) Part A – Sepolia Testnet Chain
(0 marks) Task A0:
Create a MetaMask wallet and receive some Sepolia testnet ETH in your wallet from the course
faucet.
Provide your Ethereum address.
(2 marks) Task A1
Wave at the smart contract address (0x3c871C0973A57cB898eC7B092D5A648fE4f9df9C).
(2 marks) Task A2
Buy a Lotto Pollo Ticket (0x61B9A37305f52Dc91ECC8110AbbF37a9756D3b31).
(2 marks) Task A3
Swap some Sepolia ETH for some “The Australian Dollar Token” ($AUD) tokens via the
Uniswap AMM.
ERC20 Address: 0x463fb18DA2236216dD2C403aFCA406C73B7f4fb0
(2 marks) Task A4
Stake any quantity of $AUD in the token vault to receive $AUDVT tokens:
0xFB16470D18546E34e3028d023a36F51A7338985D
(2 marks) Task A5
Place bets in the Casino dapp and win at least once on the Sepolia network:
0x236e2b836dAD5C3a8960aDAC541e06f7b81B79F5
(5 marks) Task A6
Investigate and discover the unique identifier IDs (number between 0-9999) for the following
Milady Maker & Pudgy Penguin NFTs:
(5 marks) Task A7
There exists a Uniswap V2 liquidity pool consisting of 800,000,000 “King of Tariffs” (KOT) tokens
in conjunction with 4,000 ETH. Assume that the KOT token contract has 18 decimal places.
Assuming the pool charges 0% trading fees, if you were to exchange 40 ETH, how much
quantity of KOT tokens would you receive? Give your answer to the nearest 2 decimal places.
(5 marks) Task A8
● The Gulf of America Dollar token ($GALD) has a total supply of 50,000,000.
● There exists a Uniswap V2 liquidity pair, GALD/ETH, that consists of 500 ETH and
40,000,000 $GALD.
● The market capitalization of $GALD (denominated in USD) is calculated by multiplying
the total supply by the going exchange rate within the pool. So, $625,000 to begin with.
● An aggressive buyer comes along and starts exchanging ETH for $GALD.
Assume there are no swap fees, the price of 1 ETH remains at $1,000 USD indefinitely, and that
there are no other buyers/sellers.
What is the minimum quantity of ETH that the buyer would need to swap to $GALD via the
liquidity pool in order to push the market capitalisation to $1 billion USD? Give your answer to
the nearest 2 decimal places.
(35 Marks) Part B – Sepolia Testnet Chain (Extended)
Make sure that you perform ALL tasks using ONE Ethereum address that’s been
registered at finscrypto.xyz/faucet. Read Task B8 before beginning this section.
(5 marks) Task B1
● Create your own token on the Sepolia testnet blockchain, giving it an interesting name
and ticker. The supply of the token should be the first 4 digits of your zID. We will deduct
marks for boring names.
● Now “verify the contract” on Etherscan. Explain what this means.
(2.5 marks) Task B2
Send exactly 25% of the total supply to my Ethereum address
(0x7c29eed8ed02194c3aba4f1e8abb87e680000000).
(5 marks) Task B3
Create a new Uniswap V3 liquidity pool with the following pair, containing a minimum of 100
AUD:
● $AUD
● $YOUR TOKEN
Make a post on the Moodle course forum that advertises that your token is live and available to
trade via Uniswap to your fellow students. Your post should contain:
- Your Token smart contract address
- V3 Uniswap pool smart contract address
- Initial price ratio of the pool
Example of a good submission:
“
RonWeasleyTrumpShadow20DogeElonMusk just stealth 亮 launched and is now
LIVE for trading ™ at [0xxxxxxxx(V3 UniSwap pool/NFT smart contract
address)]!!
With an initial price ratio of 100AUD and 1000 RWTS20DEM, don’t ❌ miss
this opportunity to get ׅ in on the ground floor!!!
BUY NOW ✊on UniSwap with contract address:
0xd39974DD90f0D61b722A83a8fb10049edD8508A8 or cry later
.
It’s time to go to the moon!!
”
Provide a link to this forum post in your submission.
(5 marks) Task B4
Find your favorite 5 token pitches launched by peers from the forums. Provide the ERC20
addresses of the tokens you acquired.
At least one trade MUST be Token-to-Token and not ETH-to-Token.
Provide the transaction ID for the token-to-token trade, and all of the ERC20 contract addresses
of the tokens you acquired.
(2.5 marks) Task B5
Choose your favorite token out of the five tokens you acquired and create a V3 liquidity pool
between it and your token.
Provide the liquidity pool address. (Pool should contain your token and their token, NOT
ETH/their token).
(5 marks) Task B6
Buy some of your peer’s tokens with your tokens, then withdraw 10% of the liquidity you
provided of the chosen peer’s token in task B5. (5 marks).
Tell us your profit as a liquidity provider and provide the workings of your calculation.
(10 marks) Task B7
Identify any arbitrage opportunities (ie profitable trading opportunities) between the various
liquidity pools created by students in the cohort. Provide a long answer response. Screenshots
necessary.
(Bonus marks) Task B8
When the assignment deadline has passed, bonus marks will be awarded based on the
following criteria:
Bonus Marks Description Number of Students Conditions
5 Marks Token addresses with
the largest number of
unique liquidity pools
Top 10 only Pools must be
created by your
fellow students
(excluding yourself).
5 marks Token addresses with
the largest number of
holders
Top 10 only Only addresses
registered to students
will be counted.
5 marks Win the coin flip game
10 times in a row
First student to do
this.
Must be 10 times in a
row.
Note: Each student is eligible for up to 5 bonus marks at most. Total cannot exceed 100 marks.
Note: It is still possible to get 100% on this assignment without obtaining any bonus marks.
(40 Marks) Part C – Base Chain
Make sure that you perform ALL tasks in this section using the SAME Ethereum address
that’s been registered at finscrypto.xyz/faucet. Note: It is possible to have the same address
across different blockchains, provided they are compatible with the Ethereum Virtual Machine.
(5 marks) Task C1
Swap some of your ETH for USDC on Aerodrome: (https://aerodrome.finance)
Note: do not swap all of your ETH, leave some in your wallet (over half, or 0.00025) to pay for
gas in the subsequent activities.
(5 marks) Task C2
Supply USDC to Aave on the Base market instance via (app.aave.com) and then borrow some
EURC. You should end up with at least these positions:
● Lend/Supply some USDC
● Borrow some EURC
(5 marks) Task C3
Engineer a debt position on AAVE in which your USDC exposure is greater than the total
amount of USDC you originally obtained in the swap performed in Task C1. Please ensure your
health factor is not low enough that you will get liquidated in the next few weeks.
(5 marks) Task C4
Calculate your running P&L in USD for your debt position. Consider your Supply rate, offset
against your borrow rate (and any additional incentives). Provide workings. Additionally, identify
a better opportunity (or the next best), ignoring any hedging or risk considerations.
(5 marks) Task C5
Bridge at least 0.00014 of Ether (not the supply ETH) to the Optimism chain (5 marks).
Use the Stargate Bridge [https://stargate.finance/bridge] (you may need to select a fast transfer)
Another alternative is Relay [https://relay.link/bridge] (Minimum 0.00005ETH)
(10 marks) Task C6
Using Optimism, find a way to convert your Optimism ETH to Sepolia ETH (Hint: There is a
bridge available for this purpose). Provide the transaction hash on the originating chain (this
should be on the Optimism network). Calculate the actual USD price of Sepolia ETH at the time
of your trade and explain in a maximum of 3 sentences why there is a market for Sepolia ETH.
(10 marks)
(5 marks) Task C7
Provide your private key if you think it’s a good idea.