Skip to content

Instantly share code, notes, and snippets.

@DipoAreoye
DipoAreoye / BrentGuard.sol
Last active June 26, 2022 10:23
Gnosis Module & Guard Contracts alongside ethers.js implementation to create safe, add borrower, deposit and withdraw assets
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;
import "hardhat/console.sol";
import "@gnosis.pm/safe-contracts/contracts/base/GuardManager.sol";
contract BrentGuard is Guard {
string private tokenAddress;
string private lenderAddress;

I decided to build an android app aiming to improve the week one experience for freshers at my university.

Events tab app

Due to the short time frame I had to launch to the app I wasn't able to work with an API and had to scrape the data for the events from a (horribly formatted) raw xml file. I had to parse all this information asynchronously from 8 different URLS which java provides great functionality for and then display it in a clean user friendly format. The code for the Events fragment(screen) can be seen below