Giter Site home page Giter Site logo

matter-labs-archive / plasmacontract Goto Github PK

View Code? Open in Web Editor NEW
26.0 7.0 5.0 241 KB

More Viable Plasma (MoreVP) contract with Limbo Exits

Home Page: https://plasma-mainnet.thematter.io/

JavaScript 99.92% Shell 0.08%
transaction plasma-operator sign-transactions plasma ethereum smart-contracts

plasmacontract's People

Contributors

baldyash avatar shamatar avatar skywinder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

plasmacontract's Issues

truffle compile failed

I have tried solc version 0.4.24 and 0.5.0.

the following errors:

Compiling ./contracts/Bits.sol...
Compiling ./contracts/BuyoutsProcessor.sol...
Compiling ./contracts/ByteSlice.sol...
Compiling ./contracts/Conversion.sol...
Compiling ./contracts/LimboExitGame.sol...
Compiling ./contracts/Migrations.sol...
Compiling ./contracts/PlasmaBlockStorage.sol...
Compiling ./contracts/PlasmaChallenges.sol...
Compiling ./contracts/PlasmaParent.sol...
Compiling ./contracts/PlasmaTransactionLibrary.sol...
Compiling ./contracts/PriorityQueue.sol...
Compiling ./contracts/RLP.sol...
Compiling ./contracts/SafeMath.sol...
Compiling ./contracts/Structures.sol...
Compiling ./contracts/TXTester.sol...

Compilation warnings encountered:

/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/RLP.sol:410:13: Warning: The use of labels is deprecated. Please use "if", "switch", "for" or function calls instead.
            tag_loop:
            ^------^
,/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/RLP.sol:410:13: Warning: Jump instructions and labels are low-level EVM features that can lead to incorrect stack access. Because of that they are discouraged. Please consider using "switch", "if" or "for" statements instead.
            tag_loop:
            ^------^
,/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/RLP.sol:411:17: Warning: Jump instructions and labels are low-level EVM features that can lead to incorrect stack access. Because of that they are discouraged. Please consider using "switch", "if" or "for" statements instead.
                jumpi(end, eq(i, words))
                ^----------------------^
,/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/RLP.sol:417:17: Warning: Jump instructions and labels are low-level EVM features that can lead to incorrect stack access. Because of that they are discouraged. Please consider using "switch", "if" or "for" statements instead.
                jump(tag_loop)
                ^------------^
,/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/RLP.sol:418:13: Warning: The use of labels is deprecated. Please use "if", "switch", "for" or function calls instead.
            end:
            ^-^
,/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/RLP.sol:418:13: Warning: Jump instructions and labels are low-level EVM features that can lead to incorrect stack access. Because of that they are discouraged. Please consider using "switch", "if" or "for" statements instead.
            end:
            ^-^
,/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/ByteSlice.sol:255:13: Warning: The use of labels is deprecated. Please use "if", "switch", "for" or function calls instead.
            tag_loop:
            ^------^
,/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/ByteSlice.sol:255:13: Warning: Jump instructions and labels are low-level EVM features that can lead to incorrect stack access. Because of that they are discouraged. Please consider using "switch", "if" or "for" statements instead.
            tag_loop:
            ^------^
,/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/ByteSlice.sol:256:17: Warning: Jump instructions and labels are low-level EVM features that can lead to incorrect stack access. Because of that they are discouraged. Please consider using "switch", "if" or "for" statements instead.
                jumpi(end, gt(i, words))
                ^----------------------^
,/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/ByteSlice.sol:262:17: Warning: Jump instructions and labels are low-level EVM features that can lead to incorrect stack access. Because of that they are discouraged. Please consider using "switch", "if" or "for" statements instead.
                jump(tag_loop)
                ^------------^
,/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/ByteSlice.sol:263:13: Warning: The use of labels is deprecated. Please use "if", "switch", "for" or function calls instead.
            end:
            ^-^
,/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/ByteSlice.sol:263:13: Warning: Jump instructions and labels are low-level EVM features that can lead to incorrect stack access. Because of that they are discouraged. Please consider using "switch", "if" or "for" statements instead.
            end:
            ^-^
,/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/PlasmaParent.sol:382:9: Warning: Failure condition of 'send' ignored. Consider using 'transfer' instead.
        beneficiary.send(toSend);
        ^----------------------^
,/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/PlasmaParent.sol:404:13: Warning: Failure condition of 'send' ignored. Consider using 'transfer' instead.
            beneficiary.send(amount);
            ^----------------------^


/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/Bits.sol:1:1: SyntaxError: Source file requires different compiler version (current compiler is 0.4.24+commit.e67f0147.Emscripten.clang - note that nightly builds are considered to be strictly less than the released version
pragma solidity ^0.4.25;
^----------------------^
,/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/RLP.sol:10:1: SyntaxError: Source file requires different compiler version (current compiler is 0.4.24+commit.e67f0147.Emscripten.clang - note that nightly builds are considered to be strictly less than the released version
pragma solidity ^0.4.25;
^----------------------^
,/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/Conversion.sol:1:1: SyntaxError: Source file requires different compiler version (current compiler is 0.4.24+commit.e67f0147.Emscripten.clang - note that nightly builds are considered to be strictly less than the released version
pragma solidity ^0.4.25;
^----------------------^
,/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/PlasmaTransactionLibrary.sol:1:1: SyntaxError: Source file requires different compiler version (current compiler is 0.4.24+commit.e67f0147.Emscripten.clang - note that nightly builds are considered to be strictly less than the released version
pragma solidity ^0.4.25;
^----------------------^
,/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/ByteSlice.sol:1:1: SyntaxError: Source file requires different compiler version (current compiler is 0.4.24+commit.e67f0147.Emscripten.clang - note that nightly builds are considered to be strictly less than the released version
pragma solidity ^0.4.25;
^----------------------^
,/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/PlasmaBlockStorage.sol:1:1: SyntaxError: Source file requires different compiler version (current compiler is 0.4.24+commit.e67f0147.Emscripten.clang - note that nightly builds are considered to be strictly less than the released version
pragma solidity ^0.4.25;
^----------------------^
,/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/SafeMath.sol:1:1: SyntaxError: Source file requires different compiler version (current compiler is 0.4.24+commit.e67f0147.Emscripten.clang - note that nightly builds are considered to be strictly less than the released version
pragma solidity ^0.4.25;
^----------------------^
,/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/PriorityQueue.sol:1:1: SyntaxError: Source file requires different compiler version (current compiler is 0.4.24+commit.e67f0147.Emscripten.clang - note that nightly builds are considered to be strictly less than the released version
pragma solidity ^0.4.25;
^----------------------^
,/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/Structures.sol:1:1: SyntaxError: Source file requires different compiler version (current compiler is 0.4.24+commit.e67f0147.Emscripten.clang - note that nightly builds are considered to be strictly less than the released version
pragma solidity ^0.4.25;
^----------------------^
,/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/BuyoutsProcessor.sol:1:1: SyntaxError: Source file requires different compiler version (current compiler is 0.4.24+commit.e67f0147.Emscripten.clang - note that nightly builds are considered to be strictly less than the released version
pragma solidity ^0.4.25;
^----------------------^
,/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/LimboExitGame.sol:1:1: SyntaxError: Source file requires different compiler version (current compiler is 0.4.24+commit.e67f0147.Emscripten.clang - note that nightly builds are considered to be strictly less than the released version
pragma solidity ^0.4.25;
^----------------------^
,/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/Migrations.sol:1:1: SyntaxError: Source file requires different compiler version (current compiler is 0.4.24+commit.e67f0147.Emscripten.clang - note that nightly builds are considered to be strictly less than the released version
pragma solidity ^0.4.25;
^----------------------^
,/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/PlasmaChallenges.sol:1:1: SyntaxError: Source file requires different compiler version (current compiler is 0.4.24+commit.e67f0147.Emscripten.clang - note that nightly builds are considered to be strictly less than the released version
pragma solidity ^0.4.25;
^----------------------^
,/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/PlasmaParent.sol:6:1: SyntaxError: Source file requires different compiler version (current compiler is 0.4.24+commit.e67f0147.Emscripten.clang - note that nightly builds are considered to be strictly less than the released version
pragma solidity ^0.4.25;
^----------------------^
,/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/TXTester.sol:1:1: SyntaxError: Source file requires different compiler version (current compiler is 0.4.24+commit.e67f0147.Emscripten.clang - note that nightly builds are considered to be strictly less than the released version
pragma solidity ^0.4.25;
^----------------------^
,/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/RLP.sol:410:13: Warning: The use of labels is deprecated. Please use "if", "switch", "for" or function calls instead.
            tag_loop:
            ^------^
,/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/RLP.sol:410:13: Warning: Jump instructions and labels are low-level EVM features that can lead to incorrect stack access. Because of that they are discouraged. Please consider using "switch", "if" or "for" statements instead.
            tag_loop:
            ^------^
,/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/RLP.sol:411:17: Warning: Jump instructions and labels are low-level EVM features that can lead to incorrect stack access. Because of that they are discouraged. Please consider using "switch", "if" or "for" statements instead.
                jumpi(end, eq(i, words))
                ^----------------------^
,/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/RLP.sol:417:17: Warning: Jump instructions and labels are low-level EVM features that can lead to incorrect stack access. Because of that they are discouraged. Please consider using "switch", "if" or "for" statements instead.
                jump(tag_loop)
                ^------------^
,/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/RLP.sol:418:13: Warning: The use of labels is deprecated. Please use "if", "switch", "for" or function calls instead.
            end:
            ^-^
,/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/RLP.sol:418:13: Warning: Jump instructions and labels are low-level EVM features that can lead to incorrect stack access. Because of that they are discouraged. Please consider using "switch", "if" or "for" statements instead.
            end:
            ^-^
,/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/ByteSlice.sol:255:13: Warning: The use of labels is deprecated. Please use "if", "switch", "for" or function calls instead.
            tag_loop:
            ^------^
,/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/ByteSlice.sol:255:13: Warning: Jump instructions and labels are low-level EVM features that can lead to incorrect stack access. Because of that they are discouraged. Please consider using "switch", "if" or "for" statements instead.
            tag_loop:
            ^------^
,/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/ByteSlice.sol:256:17: Warning: Jump instructions and labels are low-level EVM features that can lead to incorrect stack access. Because of that they are discouraged. Please consider using "switch", "if" or "for" statements instead.
                jumpi(end, gt(i, words))
                ^----------------------^
,/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/ByteSlice.sol:262:17: Warning: Jump instructions and labels are low-level EVM features that can lead to incorrect stack access. Because of that they are discouraged. Please consider using "switch", "if" or "for" statements instead.
                jump(tag_loop)
                ^------------^
,/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/ByteSlice.sol:263:13: Warning: The use of labels is deprecated. Please use "if", "switch", "for" or function calls instead.
            end:
            ^-^
,/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/ByteSlice.sol:263:13: Warning: Jump instructions and labels are low-level EVM features that can lead to incorrect stack access. Because of that they are discouraged. Please consider using "switch", "if" or "for" statements instead.
            end:
            ^-^
,/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/PlasmaParent.sol:382:9: Warning: Failure condition of 'send' ignored. Consider using 'transfer' instead.
        beneficiary.send(toSend);
        ^----------------------^
,/Volumes/dev/godev/src/github.com/SmartMeshFoundation/SmartPlasma/PlasmaContract/contracts/PlasmaParent.sol:404:13: Warning: Failure condition of 'send' ignored. Consider using 'transfer' instead.
            beneficiary.send(amount);
            ^----------------------^

lib

There is nothing in lib directory

Please, provide it with info

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.