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

Issue 2: fedev | Personal Page #13

Merged
merged 5 commits into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
import Link from "next/link";
import type { NextPage } from "next";
import { getMetadata } from "~~/utils/scaffold-eth/getMetadata";

export const metadata = getMetadata({
title: "Fedev",
description: "A software developer from Argentina 🇦🇷",
});

const FedevPage: NextPage = () => {
return (
<div className="min-h-screen bg-gray-100 dark:bg-gray-900 flex flex-col items-center justify-center">
<header className="text-center my-10">
<h1 className="text-4xl font-bold text-gray-900 dark:text-gray-100">Hi! I&#39;m Fedev 👋</h1>
<p className="text-lg text-gray-700 dark:text-gray-300 mt-4">A software developer from Argentina 🇦🇷.</p>
</header>

<section className="max-w-4xl mx-auto text-center">
<p className="text-xl mb-6 text-gray-800 dark:text-gray-300">
I graduated as a systems analyst and for the past 3 years, I&#39;ve been exploring, learning, and actively
contributing to the Web3 space. I&#39;m passionate about traveling the world, meeting builders, joining
hackathons, and enjoying barbecues with friends.
</p>

<div className="mb-8">
<h2 className="text-2xl font-bold mb-2 text-gray-900 dark:text-gray-100">Hackathon Journey</h2>
<p className="text-lg text-gray-700 dark:text-gray-300">
I have participated in 3 IRL hackathons with EthGlobal and over 5 virtual ones, becoming a finalist in two
of them 🥳.
</p>
</div>

<div className="mb-8">
<h2 className="text-2xl font-bold mb-2 text-gray-900 dark:text-gray-100">Connect with me</h2>
<p className="text-lg text-gray-700 dark:text-gray-300">
Follow me on{" "}
<Link target="_blank" rel="noopener noreferrer" href="https://twitter.com/fedev_" passHref>
<span className="text-blue-600 dark:text-blue-400 hover:underline">X (Twitter)</span>
</Link>{" "}
to stay updated on what I&#39;m working on!
</p>
</div>
</section>
</div>
);
};

export default FedevPage;
292 changes: 291 additions & 1 deletion packages/nextjs/contracts/deployedContracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,296 @@
*/
import { GenericContractsDeclaration } from "~~/utils/scaffold-eth/contract";

const deployedContracts = {} as const;
const deployedContracts = {
fedeloterstein marked this conversation as resolved.
Show resolved Hide resolved
31337: {
BatchRegistry: {
address: "0x5FbDB2315678afecb367f032d93F642f64180aa3",
abi: [
{
inputs: [
{
internalType: "address",
name: "initialOwner",
type: "address",
},
{
internalType: "uint16",
name: "batchNumber",
type: "uint16",
},
],
stateMutability: "nonpayable",
type: "constructor",
},
{
inputs: [],
name: "AlreadyGraduated",
type: "error",
},
{
inputs: [],
name: "BatchNotOpen",
type: "error",
},
{
inputs: [],
name: "NotAContract",
type: "error",
},
{
inputs: [],
name: "NotCheckedIn",
type: "error",
},
{
inputs: [],
name: "NotInAllowList",
type: "error",
},
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: "bool",
name: "first",
type: "bool",
},
{
indexed: false,
internalType: "address",
name: "builder",
type: "address",
},
{
indexed: false,
internalType: "address",
name: "checkInContract",
type: "address",
},
],
name: "CheckedIn",
type: "event",
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: "address",
name: "previousOwner",
type: "address",
},
{
indexed: true,
internalType: "address",
name: "newOwner",
type: "address",
},
],
name: "OwnershipTransferred",
type: "event",
},
{
inputs: [],
name: "BATCH_NUMBER",
outputs: [
{
internalType: "uint16",
name: "",
type: "uint16",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "",
type: "address",
},
],
name: "allowList",
outputs: [
{
internalType: "bool",
name: "",
type: "bool",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "batchGraduationNFT",
outputs: [
{
internalType: "contract BatchGraduationNFT",
name: "",
type: "address",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "checkIn",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [],
name: "checkedInCounter",
outputs: [
{
internalType: "uint256",
name: "",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "graduate",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "",
type: "address",
},
],
name: "graduatedTokenId",
outputs: [
{
internalType: "uint256",
name: "",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "isOpen",
outputs: [
{
internalType: "bool",
name: "",
type: "bool",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "owner",
outputs: [
{
internalType: "address",
name: "",
type: "address",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "renounceOwnership",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [],
name: "toggleBatchOpenStatus",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "newOwner",
type: "address",
},
],
name: "transferOwnership",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "address[]",
name: "builders",
type: "address[]",
},
{
internalType: "bool[]",
name: "statuses",
type: "bool[]",
},
],
name: "updateAllowList",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [],
name: "withdraw",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "",
type: "address",
},
],
name: "yourContractAddress",
outputs: [
{
internalType: "address",
name: "",
type: "address",
},
],
stateMutability: "view",
type: "function",
},
{
stateMutability: "payable",
type: "receive",
},
],
inheritedFunctions: {
owner: "@openzeppelin/contracts/access/Ownable.sol",
renounceOwnership: "@openzeppelin/contracts/access/Ownable.sol",
transferOwnership: "@openzeppelin/contracts/access/Ownable.sol",
},
},
},
} as const;

export default deployedContracts satisfies GenericContractsDeclaration;