Git Product home page Git Product logo

core-options's Introduction

cVault Options


Live Contract URLs

Add these here after deploy

core-options's People

Contributors

x3devships avatar

Stargazers

Faru avatar  avatar i.am_pi3 avatar  avatar  avatar Rasikh Morani avatar  avatar rgroise avatar  avatar

Watchers

 avatar  avatar

core-options's Issues

CLend empty

Good sir, many a doom has stricken telegram. please do the needful and refill clend. for my village.

Error When Attempting to Buy Delta on Sushiswap

Long time listener first time caller,

Big fan here, can't wait for the cVault speedo. Earlier today I tried to market buy some delta on Sushiswap and was met with an error when attempting to swap:

cannot estimate gas; transaction may fail or may require manual gas limit [ See: https://links.ethers.org/v5-errors-UNPREDICTABLE_GAS_LIMIT ] (reason="execution reverted: Minimal ouput balance violation", method="estimateGas", transaction={"from":"0x8e053EfBC3dC7a413D93d7C2a208EBad11CC99F3","to":"0xF70c086618dcf2b1A461311275e00D6B722ef914","value":{"type":"BigNumber","hex":"0x7c585087238000"},"data":"0x2646478b000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000000007c5850872380000000000000000000000000009ea3b5b4ec044b70375236a281986106457b20ef000000000000000000000000000000000000000000000002de4f8ada2c1173330000000000000000000000008e053efbc3dc7a413d93d7c2a208ebad11cc99f300000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000008805c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2011498bd576454159bb81b5ce532692a8752d163e8000000000000000000000000000000000000000000000000007c5850872380000a1498bd576454159bb81b5ce532692a8752d163e8c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2008e053efbc3dc7a413d93d7c2a208ebad11cc99f3000000000000000000000000000000000000000000000000","accessList":null}, error={"code":-32603,"message":"execution reverted: Minimal ouput balance violation","data":{"originalError":{"code":3,"data":"0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001f4d696e696d616c206f757075742062616c616e63652076696f6c6174696f6e00","message":"execution reverted: Minimal ouput balance violation"}}}, code=UNPREDICTABLE_GAS_LIMIT, version=providers/5.7.2)

I received the same issue from two different wallets so I believe it may not be unique to me, another member in tg mentioned receiving the same error as well. Jeff was of no help (Ticker: CUMBRAIN).

Discourage the Use of if Conditions Without Curly Braces

Problem:
In the codebase, it has been observed that some developers are using if conditions without enclosing them in curly braces. This practice, while technically valid, can lead to readability issues and may introduce subtle bugs in the future, especially when additional statements are added.

Suggestion:
I propose that we always use curly braces with if conditions, even if there is only a single statement. This practice enhances code clarity, reduces the likelihood of introducing bugs, and makes it easier for others to understand and maintain the code.

Example:

// Not recommended
if (condition)
    statement;

// Recommended
if (condition) {
    statement;
}

Benefits:
Consistency: Encouraging a uniform coding style across the project.
Readability: Making the code more readable by clearly indicating the scope of the if condition.
Error Prevention: Reducing the chance of introducing bugs when modifying code.

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.