Skip to content

Commit

Permalink
Mercs -> NiftyInk
Browse files Browse the repository at this point in the history
  • Loading branch information
ZakGriffith committed Aug 7, 2024
1 parent 0700119 commit d516a64
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 330 deletions.
24 changes: 9 additions & 15 deletions packages/nextjs/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,21 @@ import { FaucetButton, RainbowKitCustomConnectButton } from "~~/components/scaff
export const Header = () => (
<>
<Head>
<title>Mercs</title>
<link rel="icon" type="image/png" sizes="32x32" href="/favicon.png" />
<meta
name="description"
content="Funding BuidlGuidl Mercs with oETH streams for quietly having important impact on Ethereum."
/>
<meta property="og:title" content="Mercs" />
<meta
property="og:description"
content="Funding BuidlGuidl Mercs with oETH streams for quietly having important impact on Ethereum."
/>
<title>NiftyInk</title>
<link rel="icon" type="image/png" sizes="32x32" href="/favicon.ico" />
<meta name="description" content="Funding BuidlGuidl members working on NiftyInk." />
<meta property="og:title" content="NiftyInk" />
<meta property="og:description" content="Funding BuidlGuidl members working on NiftyInk." />
<meta name="twitter:card" content="summary_large_image" />
<meta property="og:image" content="https://mercs.buidlguidl.com/thumbnail.png" />
<meta property="twitter:image" content="https://mercs.buidlguidl.com/thumbnail.png" />
<meta property="og:image" content="https://niftyink.buidlguidl.com/thumbnail.png" />
<meta property="twitter:image" content="https://niftyink.buidlguidl.com/thumbnail.png" />
</Head>
<div className="sticky lg:static top-0 navbar bg-base-100 min-h-0 flex-shrink-0 justify-between z-20 p-4 items-start">
<div className="flex-col items-start">
<p className="m-0 text-xl md:text-3xl font-bold text-secondary !leading-7">
<Link href="/">Mercs</Link>
<Link href="/">NiftyInk</Link>
</p>
<p className="m-0 text-secondary leading-5 opacity-50"></p>
<p className="m-0 text-secondary leading-5 opacity-70">BuidlGuidl Cohort</p>
</div>
<div className="navbar-end flex-grow">
<RainbowKitCustomConnectButton />
Expand Down
307 changes: 1 addition & 306 deletions packages/nextjs/generated/hardhat_contracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,312 +5,7 @@ export default {
chainId: "1",
contracts: {
SandGardenStreams: {
address: "0x1c873c172662c3774D089aB967911bC32C04bb08",
abi: [
{
inputs: [],
stateMutability: "nonpayable",
type: "constructor",
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: "address",
name: "to",
type: "address",
},
{
indexed: false,
internalType: "uint256",
name: "amount",
type: "uint256",
},
],
name: "AddBuilder",
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",
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: "address",
name: "to",
type: "address",
},
{
indexed: false,
internalType: "uint256",
name: "amount",
type: "uint256",
},
],
name: "UpdateBuilder",
type: "event",
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: "address",
name: "to",
type: "address",
},
{
indexed: false,
internalType: "uint256",
name: "amount",
type: "uint256",
},
{
indexed: false,
internalType: "string",
name: "reason",
type: "string",
},
],
name: "Withdraw",
type: "event",
},
{
stateMutability: "payable",
type: "fallback",
},
{
inputs: [
{
internalType: "address[]",
name: "_builders",
type: "address[]",
},
{
internalType: "uint256[]",
name: "_caps",
type: "uint256[]",
},
],
name: "addBatch",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "address payable",
name: "_builder",
type: "address",
},
{
internalType: "uint256",
name: "_cap",
type: "uint256",
},
],
name: "addBuilderStream",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "address[]",
name: "_builders",
type: "address[]",
},
],
name: "allBuildersData",
outputs: [
{
components: [
{
internalType: "address",
name: "builderAddress",
type: "address",
},
{
internalType: "uint256",
name: "cap",
type: "uint256",
},
{
internalType: "uint256",
name: "unlockedAmount",
type: "uint256",
},
],
internalType: "struct SandGardenStreams.BuilderData[]",
name: "",
type: "tuple[]",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "frequency",
outputs: [
{
internalType: "uint256",
name: "",
type: "uint256",
},
],
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: [
{
internalType: "uint256",
name: "_amount",
type: "uint256",
},
{
internalType: "string",
name: "_reason",
type: "string",
},
],
name: "streamWithdraw",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "",
type: "address",
},
],
name: "streamedBuilders",
outputs: [
{
internalType: "uint256",
name: "cap",
type: "uint256",
},
{
internalType: "uint256",
name: "last",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "newOwner",
type: "address",
},
],
name: "transferOwnership",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "_builder",
type: "address",
},
],
name: "unlockedBuilderAmount",
outputs: [
{
internalType: "uint256",
name: "",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [
{
internalType: "address payable",
name: "_builder",
type: "address",
},
{
internalType: "uint256",
name: "_cap",
type: "uint256",
},
],
name: "updateBuilderStreamCap",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
stateMutability: "payable",
type: "receive",
},
],
},
},
},
],
31337: [
{
name: "localhost",
chainId: "31337",
contracts: {
SandGardenStreams: {
address: "0xDc64a140Aa3E981100a9becA4E685f962f0cF6C9",
address: "0x882d6aB20cE8Af9cB32e6eE3dc85f090427BCD1a",
abi: [
{
inputs: [],
Expand Down
8 changes: 4 additions & 4 deletions packages/nextjs/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ const Home: NextPage = () => {
return (
<>
<div className="max-w-3xl px-4 py-8">
{/* <h1 className="text-4xl font-bold mb-8 text-primary-content bg-primary inline-block p-2">Mercs</h1> */}
{/* <h1 className="text-4xl font-bold mb-8 text-primary-content bg-primary inline-block p-2">NiftyInk</h1> */}
<div>
<p className="mt-0">
Funding{" "}
Funding the{" "}
<Link href="/members" className="link link-primary">
BuidlGuidl Mercs
NiftyInk BuidlGuidl Cohort
</Link>{" "}
with oETH streams for quietly having important impact on Ethereum.
with ETH streams.
</p>
{/* <p>
<
Expand Down
Binary file added packages/nextjs/public/favicon.ico
Binary file not shown.
Binary file removed packages/nextjs/public/favicon.png
Binary file not shown.
10 changes: 5 additions & 5 deletions packages/nextjs/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ module.exports = {
themes: [
{
scaffoldEth: {
primary: "#FF0000",
"primary-content": "#FFFFFF",
secondary: "#D70000",
"secondary-content": "#FFFFFF",
primary: "#f5ff33",
"primary-content": "#000000",
secondary: "#f5ff33",
"secondary-content": "#000000",
accent: "#FF6347",
"accent-content": "#FFFFFF",
"accent-content": "#000000",
neutral: "#212638",
"neutral-content": "#FFFFFF",
"base-100": "#000000",
Expand Down

0 comments on commit d516a64

Please sign in to comment.