GmJEWEL - The monorepo for the Greedy Merchants Guild

Overview

Greedy Merchants Guild

Hello! Welcome to the monorepo for the Greedy Merchants Guild. Here you will find many treasures.

The repository contains the source code for the following tools used by the Greedy Merchants Guild:

  • Contracts : All the contracts used by the Greedy Merchants Guild. Contracts are written in both solidity and vyper.

  • Backend : Simple backend written in python, used to serve an API that is used by the frontend

  • UI : The front-end for the website hosted at gmg.money

Development

We utilise Brownie for our development environment and run comprehensive tests. Please familiarise yourself with brownie.

Comments
  • feat dfk chain

    feat dfk chain

    Quite a big commit, so will break up changes:

    Contracts and tests have been split into separate folders The JEWEL contracts have been renamed to have a 'h' in them (for harmony). Otherwise we get namespace collisions. We shouldn't need be using these contracts in the front end so I don't see any issue doing this

    Tests are split up. because of issues getting RPC to work, we will need to do tests individually- brownie test tests/dfk will run dfk tests and brownie test tests/harmony will run the old tests

    I made some changes to the contracts:

    • centralbank now has a separate keeper (separate to owner/fee wallet)
    • gmcrystal is just updated name/symbol
    • pawnshop v2 has necessary checks to prevent issues with frontrunning/overpaying fees
    • utxo has removed profiles (no longer utilised)
    opened by 0xcamel 1
  • feat: update backend to get msg sender for router

    feat: update backend to get msg sender for router

    this updates the back-end for the api to correctly get the redeemor for anyone that redeems via router

    back-fill is not necessarily (it will just incorrectly attribute the first few stashes)

    opened by 0xcamel 1
  • fix: block wrong network

    fix: block wrong network

    wagmi package doesnt actually prevent transactions on the wrong chain this prevents you from accessing site when you are using the wrong chain this is just a temporary fix to prevent anybody signing transactions they didnt intend to (shouldn't cause any issues other than wasted gas but still important to fix) it also offers the option to change network This is really ugly with css so should probably review this before deploy

    opened by 0xcamel 1
  • UI to forcibly mint stashes

    UI to forcibly mint stashes

    When a user mints from a stash, deposits more, and doesn't mint, the stash becomes unredeemable. This is why the forceRedeemUTXO function exists, to forcibly mint the rest to the minter and then to allow the user to redeem. The UI should be able to handle this.

    • UI should show when nominalCombinedValue of a UTXO is different to the mintedFrom value
      • Important, because the true cost is based on nominalCombinedValue, but the UI, on the JewelStash, only shows the amount minted due to the way the API works
    • Once user is presented with true cost, they should be able to still redeem, but the UI should call the forceRedeemUTXO function
    enhancement good first issue ui 
    opened by qdspr 2
  • Automate fee buybacks

    Automate fee buybacks

    • [ ] Create CentralBankGovernor contract, which will become the owner of the CentralBank
    • [ ] CentralBankGovernor is Ownable
    • [ ] CentralBankGovernor has list of keeper addresses
    • [ ] CentralBankGovernor allows pass-through calls to CentralBank for all functions (with same access control) EXCEPT for withdrawCentralBankJewel, which has modified access control to allow keepers to also call it
    • [ ] (#22) Create basic keeper bot to perform fee buybacks
    enhancement contracts 
    opened by qdspr 0
  • Rework to allow for addition of features without a full DB backfill

    Rework to allow for addition of features without a full DB backfill

    Step 1: ensure all event scanning is idempotent, ensure concurrent event scanners dont interfere with each other (add backfill runtime flag that doesn't check last scanned block)

    Step 2: track last scanned block on a per feature basis, allow for resetting based on some sort of increasing number

    enhancement api 
    opened by qdspr 0
Owner
Greedy Merchants Guild
Shadowy super merchants in the DFK realm
Greedy Merchants Guild
Monorepo for my Raspberry Pi dashboard and GPS satellite listener.

?? pi dashboard My blog post: Listening to Satellites with my Raspberry Pi This is the monorepo for my Raspberry Pi dashboard!

Andrew Healey 27 Jun 8, 2022
Nvidia Semantic Segmentation monorepo

Paper | YouTube | Cityscapes Score Pytorch implementation of our paper Hierarchical Multi-Scale Attention for Semantic Segmentation. Please refer to t

NVIDIA Corporation 1.6k Jan 4, 2023
MVP monorepo to rapidly develop scalable, reliable, high-quality components for Amazon Linux instance configuration management

Ansible Amazon Base Repository Ansible Amazon Base Repository About Setting Up Ansible Environment Configuring Python VENV and Ansible Editor Configur

Artem Veremey 1 Aug 6, 2022
An Open-Source Discord bot created to provide basic functionality which should be in every discord guild. We use this same bot with additional configurations for our guilds.

A Discord bot completely written to be taken from the source and built according to your own custom needs. This bot supports some core features and is

Tesseract Coding 14 Jan 11, 2022
A bot that connects your guild chat to a Discord channel, written in Python.

Guild Chat Bot A bot that connects your guild chat to a discord channel. Uses discord.py and pyCraft Deploy on Railway Railway is a cloud development

Evernote 10 Sep 25, 2022
🔍 Messages Searcher is make for search custom message in all channels in guild and dm.

?? Messages Searcher is make for search custom message in all channels in guild and dm.

Kaneki 33 Dec 31, 2022
This Discord bot is to give timely notifications to Students in the Lakehead CS 2021 Guild

Discord-Bot Goal of Project The purpose of this Discord bot is to give timely notifications to Students in the Lakehead CS 2021 Guild. How can I contr

null 8 Jan 30, 2022
A Discord bot written in Python to help with guild administration

forgotten-hydra A Discord bot written in Python to help with guild administration. External libraries Pycord-Development/pycord 1.7.3 djc/couchdb-pyth

null 1 May 14, 2022
Discondelete, is a Discord self-bot to delete dm's or purge all messages from a guild.

Discondelete Discondelete, is a Discord self-bot to delete dm's or purge all messages from a guild. Report Bug · Request Feature Table of Contents Abo

core 4 Feb 28, 2022
A Discord chat bot for the Tardsquad guild (Discord name for server).

Tardsquad Discord Bot A Discord chat bot for the Tardsquad guild (Discord name for server). Resouces Discord Developer Portal A general tutorial for a

Tardsquad Quality Code Inc. 4 Jul 26, 2022
PDX Code Guild Full Stack Python Bootcamp starting 2022/02/28

Class Liger Rough Timeline Weeks 1, 2, 3, 4: Python Weeks 5, 6, 7, 8: HTML/CSS/Flask Weeks 9, 10, 11: Javascript Weeks 12, 13, 14, 15: Django Weeks 16

PDX Code Guild 5 Jul 5, 2022
Home repository for the Regularized Greedy Forest (RGF) library. It includes original implementation from the paper and multithreaded one written in C++, along with various language-specific wrappers.

Regularized Greedy Forest Regularized Greedy Forest (RGF) is a tree ensemble machine learning method described in this paper. RGF can deliver better r

RGF-team 364 Dec 28, 2022
Home repository for the Regularized Greedy Forest (RGF) library. It includes original implementation from the paper and multithreaded one written in C++, along with various language-specific wrappers.

Regularized Greedy Forest Regularized Greedy Forest (RGF) is a tree ensemble machine learning method described in this paper. RGF can deliver better r

RGF-team 363 Dec 14, 2022
Greedy Algorithm-Problem Solving

MAX-MIN-Hackrrank-Python-Solution Greedy Algorithm-Problem Solving You will be given a list of integers, , and a single integer . You must create an a

Mahesh Nagargoje 3 Jul 13, 2021
Developed an optimized algorithm which finds the most optimal path between 2 points in a 3D Maze using various AI search techniques like BFS, DFS, UCS, Greedy BFS and A*

Developed an optimized algorithm which finds the most optimal path between 2 points in a 3D Maze using various AI search techniques like BFS, DFS, UCS, Greedy BFS and A*. The algorithm was extremely optimal running in ~15s to ~30s for search spaces as big as 10000000 nodes where a set of 18 actions could be performed at each node in the 3D Maze.

null 1 Mar 28, 2022
CLI Eight Puzzle mini-game featuring BFS, DFS, Greedy and A* searches as solver algorithms.

?? Eight Puzzle CLI Jogo do quebra-cabeças de 8 peças em linha de comando desenvolvido para a disciplina de Inteligência Artificial. Escrito em python

Lucas Nakahara 1 Jun 30, 2021
8 Puzzle with A* , Greedy & BFS Search in Python

8_Puzzle 8 Puzzle with A* , Greedy & BFS Search in Python Python Install Python from here. Pip Install pip from here. How to run? ?? Install 8_Puzzle

I3L4CK H4CK3l2 1 Jan 30, 2022