Git Product home page Git Product logo

token's Introduction

HDN Token

Repository for new Hydranet (HDN) Token.

Based on ERC-20 standard and implemented using OpenZeppelin Contract Library.

Addresses

Mainnet (Arbitrum One)

Contracts

MultiSig

Testnet (Arbitrum Goerli)

Contracts

MultiSig

Contracts

  • Token implements ERC-20 standard and security fallbacks (pause / unpause)
  • Treasury manages finances and approvals for operational spending (including Bonds)
  • Bondage contains logic for creating, managing, buying, and claiming bonds

Features

  • Implements ERC-20 with possibility to support future interfaces
  • Upgradable (UUPS)
  • Mint & Burn disabled with possibility to enable through upgrades in the future
  • Prepared for On-Chain Governance (but not yet implemented)

Development

  • npm install to install dependencies
  • npm test to run tests
  • npm run glue to copy artifacts and deployments to webapp
  • npx hardhat deploy --network <network-name> to deploy or upgrade contracts

token's People

Contributors

danielsel avatar

Stargazers

yurez avatar Ruzgar Ata Ozkan avatar Max avatar Joe Park avatar

Watchers

Jay avatar Max avatar Joe Park avatar

Forkers

pavel9213

token's Issues

[UI] Incorrect Pending and Claimable Amount

The user encountered an issue with the bond claim functionality where the "Claimable" button incorrectly displays "Pending" despite the bonds being eligible for claiming. Additionally, the displayed pending and claimable amounts are not accurate.

Steps to Reproduce:

Log in to the application.
Navigate to the "My Bonds" section.
Identify a bond that should be claimable based on its status.
Observe that the "Claimable" button incorrectly shows "Pending."
Click on the "Pending"
Check the displayed pending and claimable amounts for the bond. The claim bottom may bug out and show "Pending"

Expected Behavior:

The "Claimable" button should correct reflect the claim status of the bond.
The pending and claimable amounts should be correctly displayed based on the bond's eligibility for claiming.

Actual Behavior:

The "Claimable" button erroneously displays "Pending" even for bonds that should be claimable.
The pending and claimable amounts are not showing the correct values for the bond.

In addition when I tried the "Claimable: HDN" Showed 1.8 HDN but the claim button said Pending.
Capture

Sometimes refreshing works, sometimes it don't.

Stuck on claiming HDN Bond

When playing around (opening and closing) with the modal for claiming a not claimable bond and then as soon as it is ready trying to claim, the claiming will indefinitely keep going. The tx already happened but the modal does not disappear or update.

When clicking again on the "HDN arriving" button an absurd amount of fee is being shown.

Mid to high priority

Unintended Enablement of "Buy Bond" Button with Invalid Input [Bug#3]

Description:

I've discovered a issue related to the "Buy Bond" functionality that allows users to inadvertently enable the "Buy Bond" button by entering a specific sequence of input values in the amount WETH input field. This behavior compromises the expected functionality of the bond purchase process and can lead to unintended consequences during the claiming process.

Steps to Reproduce:

Log in to the application.
Navigate to the bond purchase section.
Locate the amount WETH input field.
Enter a complex value with a pattern similar to "1.333231+123123123127391273891273897218937218973892173892173897213897218937281973892173892173892178937218937218973891273892178397218937218937812973891273891781738912739821789" (note the "+" sign).
After entering the complex value, remove the "+" sign from the input field.
Observe that the "Buy Bond" button becomes enabled.

aeth

Incorrect Start Date on Bonds Landing Page

The start date calculation of the current bonds round is not correctly implemented since the contract interface changed.

Known issue, will be fixed with low priority.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.