This is a fork of several repositories from https://github.com/Uniswap/
All tests passed.
Redistributions of source code must retain this list of conditions and the following disclaimer.
Neither the name of VeChain (VeChain Foundation) nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Specific tweaks:
- Change Variable names of VEX and Vexchange
CREATE2
hash.chainId()
OPCODE call remains the same- Compiler option
istanbul
remains the same.
This will NOT enable to be run on VeChain now because the EVM doesn't support it, yet.
But eventually it is the unified set of code that is deployed on VeChain after the EVM support istanbul
is in place.
Based on main
branch.
Specific tweaks:
chainId()
tweak (fixed value) for different branches “testnet” and “mainnet”.istanbul
compiler option change toconstantinpole
.CREATE2
hash change of respective files.