Giter Site home page Giter Site logo

escrow-contracts's Introduction

Escrow Contracts

Deployed Addresses

  • Kovan: <none>
  • Mainnet: <none>

Contributing

Install Dependencies

yarn install

Run Tests

yarn test

Compile the Contracts

yarn build

Run Linter on Files

yarn lint

Fix Linter Issues on Files

yarn fix

escrow-contracts's People

Contributors

fnanni-0 avatar shalzz avatar unknownunknown1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

escrow-contracts's Issues

Review by @nix1g

Review @ 4a682e0

Major

MultipleArbitrableTokenTransactionWithAppeals.sol

Reentrency

L262 does not prevent reentrency: the variable is only modified in memory and this change is not stored before the call to transfer.

Minor

ETH Token Issue
L56 L64 ruling should be of type enum Party.
L412 L437 Condition can be simplified to _side != Party.None.
L427 L451 Expression can be simplified to block.timestamp < (appealPeriodEnd + appealPeriodStart) / 2.
L18, L411-L461 L25, L436-L487 This is the only place where CappedMath is used, and with controlled (i.e. trusted) values. I would remove it altogether.
L419 L444 Variable scoping is not necessary.

Consistency issues and linting

  • Both files are very similar, they should be easily diff-able (aim to reduce discrepencies like the use of uint vs uint256, trailing spaces, comments wording...).
  • To use solhint efficiently, you should explicitely state the warnings you want to ignore in the code using solhint-disable and solhint-disable-next-line.

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.