Awesome Smart-Contracts OpenSource Projects – 超棒的智能合约开源项目区块链毕设代写

区块链毕设代写本文提供国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,Awesome Smart-Contracts OpenSource Projects – 超棒的智能合约开源项目区块链毕设代写 是一篇很好的国外资料

Awesome Smart-Contracts OpenSource Projects

Table of Contents
  • [email protected]:0xsequence/niftyswap.git
    • 0x-monorepo
    • protocol
    • VDF
  • 0xsequence
    • erc-1155
    • erc20-meta-token
    • niftyswap
    • wallet-contracts
  • Aragon
  • dydx-protocol
    • protocol_v1
    • exchange-wrappers
    • perpetual
    • solo
  • rena-finance
    • Rena

Indexing awesome Smart-contract projects implemented on top of Ethereum

Awesome Smart-Contracts OpenSource Projects - 超棒的智能合约开源项目

[email protected]:0xsequence/niftyswap.git

The Protocol for Trading Tokens

  • 0x.org/

  • github.com/0xProject

0x-monorepo

0x protocol monorepo – includes our smart contracts and many developer tools

  • asset-proxy

  • broker

  • coordinator

  • dev-utils

  • erc1155

  • erc20

  • erc721

  • exchange-forwarder

  • exchange-libs

  • exchange

  • extensions

  • integrations

  • multisig

  • staking

  • test-utils

  • utils

  • zero-ex

protocol

This repository is a monorepo including the 0x protocol smart contracts and numerous developer tools. Each public sub-package is independently published to NPM.

  • asset-proxy

  • broker

  • coordinator

  • dev-utils

  • erc1155

  • erc20

  • erc721

  • exchange-forwarder

  • exchange-libs

  • exchange

  • extensions

  • integrations

  • multisig

  • staking

  • test-utils

  • utils

  • zero-ex

VDF

A Solidity implementation of a VDF verifier contract.

  • Verifier.sol

  • VerifierTesting.sol

0xsequence

A blockchain infrastructure stack for seamless user experiences on Ethereum

  • sequence.build

  • github.com/0xsequence

Awesome Smart-Contracts OpenSource Projects - 超棒的智能合约开源项目

erc-1155

Ethereum Multi-Token Standard (ERC-1155)

This repository maintains a secure, efficient and standards-compliant implementation of the ERC-1155 token standard for Ethereum. The implementation was created during Horizon Blockchain Games’ participation in the coauthoring of the ERC-1155 and is used by Skyweaver, Opensea, and many other projects since its release.

The ERC-1155 token standard contains multiple classes of tokens referenced by IDs from non-fungible (max supply=1), to semi-fungible (supply=low), to highly fungible (supply=high). Standard interface discussion at ERC-1155.

Audits

  • Security_Audit_Horizon_Games_23-12-19_2.pdf

  • horizon-games-audit-2020-02.pdf

erc20-meta-token

  • General ERC20 to ERC1155 Token Wrapper Contract.

  • Allows any ERC-20 token to be wrapped inside of an ERC-1155 contract, and thereby allows an ERC-20 token to function as an ERC-1155 contract.

Contracts

  • ERC20Wrapper.sol Allows users to wrap any amount of any ERC-20 token with a 1:1 ratio of corresponding ERC-1155 tokens. Each ERC-20 is assigned an ERC-1155 id for more efficient CALLDATA usage when doing transfers.

Audits

  • Security_Audit_Horizon_Games_23-12-19_2.pdf

  • horizon-games-audit-2020-02.pdf

niftyswap

Niftyswap is a decentralized token swap protocol for ERC-1155 tokens on Ethereum. In other words, Niftyswap is Uniswap for ERC-1155 tokens.

We are incredibly thankful for the work done by the Uniswap team, without which Niftyswap wouldn’t exists.

Description

Niftyswap is an implementation of Uniswap, a protocol for automated token exchange on Ethereum. While Uniswap is for trading ERC-20 tokens, Niftyswap is a protocol for x ERC-20 tokens. Both are designed to favor ease of use and provide guaranteed access to liquidity on-chain.

Most exchanges maintain an order book and facilitate matches between buyers and sellers. Niftyswap smart contracts hold liquidity reserves of various tokens, and trades are executed directly against these reserves. Prices are set automatically using the constant product $x*y = K$ market maker mechanism, which keeps overall reserves in relative equilibrium. Reserves are pooled between a network of liquidity providers who supply the system with tokens in exchange for a proportional share of transaction fees.

An important feature of Nitfyswap is the utilization of a factory/registry contract that deploys a separate exchange contract for each ERC-1155 token contract. These exchange contracts each hold independent reserves of a single fungible ERC-1155 currency and their associated ERC-1155 token id. This allows trades between the [Currency](#currency) and the ERC-1155 tokens based on the relative supplies.

For more details, see Specification.pdf

Differences with Uniswap

There are some differences compared to the original Uniswap that we would like to outline below:

  1. For ERC-1155 tokens, not ERC-20s

  2. Base currency is not ETH, but needs to be an ERC-1155

  3. Liquidity fee is 0.5% instead of 0.3%

  4. All fees are taken from base currency (Uniswap takes trading fees on both sides). This will lead to some small inneficiencies which will be corrected via arbitrage.

  5. Users do not need to set approvals before their first trade

  6. 100% native meta-tx friendly for ERC-1155 implementations with native meta-tx functionalities

  7. Front-end implementations can add arbitrary fee (in addition to the 0.5%) for tokens with native meta-transactions.

  8. Less functions than Uniswap

There are pros and cons to these differences and we welcome you to discuss these by openning issues in this repository.

Contracts:

  • NiftyswapExchange.sol: The exchange contract that handles the logic for exchanging assets for a given base token.

  • NiftyswapFactory.sol: The exchange factory that allows the creation of nifyswap exchanges for the tokens of a given ERC-1155 token conract and an ERC-1155 base currency.

  • WrapAndNiftyswap.sol: Will allow users to wrap their ERC-20 into ERC-1155 tokens and pass their order to niftyswap. All funds will be returned to original owner and this contact should never hold any funds outside of a given wrap transaction.

Audits

  • Security_Audit_Nitfyswap_Horizon_Games_1.pdf

  • consensys-diligence-audit-2020-02.pdf

wallet-contracts

Sequence, Ethereum Smart Wallet Contracts

Contracts

  • Factory.sol: Will deploy a new wallet instance.

  • Wallet.sol: Minimal upgradeable proxy implementation, delegates all calls to the address defined by the storage slot matching the wallet address.

  • utils/SignatureValidator.sol: Contains logic for signature validation. Signatures from wallet contracts assume ERC-1271 support (github.com/ethereum/EIPs/blob/master/EIPS/eip-1271.md)

Audits

  • Consensys_Diligence.md

  • Quantstamp_Arcadeum_Report_Final.pdf

  • sequence_quantstamp_audit_feb_2021.pdf

Aragon

dydx-protocol

The Protocol for Decentralized Margin Trading & Derivatives

  • dydx.exchange

  • github.com/dydxprotocol

protocol_v1

[DEPRECATED] Solidity Smart Contracts for the dYdX V1 Margin Trading Protocol.

exchange-wrappers

Collection of exchange wrapper contracts used by the dYdX Protocol.

perpetual

Ethereum Smart Contracts and TypeScript client library for the dYdX Perpetual Contracts Protocol. Currently used by trade.dydx.exchange.

solo

dYdX V2 Margin Trading Protocol.

rena-finance

​RenaSwap is a one-sided automated market maker-based decentralized token swap protocol which utilizes token wrappers, buy-only liquidity pairs, and circulating asset flows to amplify volume for all tokens integrated with RenaSwap. We call this Volume Aggregation as it gives new life to all participating projects in the form of increased volume, which attracts more liquidity, increasing incentives for Liquidity Providers. Its specialized design utilizes RENA, our deflationary ERC-20 utility token, to tap into the numerous capital flows moving through interoperating DEXs and share a percentage of those flows with ETH/RENA liquidity providers.

  • rena.finance/

  • github.com/Rena-Finance

Rena

  • Claim.sol

  • FeeDistributor.sol

  • LPStaking.sol

  • Migrations.sol

  • Rebalancer.sol

  • Rena.sol

  • RenaswapV1Factory.sol

  • RenaswapV1Pair.sol

  • RenaswapV1Router.sol

  • RenaswapV1Wrapper.sol

  • ReservationEvent.sol


Awesome Smart-Contracts OpenSource Projects

Table of Contents
  • [email protected]:0xsequence/niftyswap.git
    • 0x-monorepo
    • protocol
    • VDF
  • 0xsequence
    • erc-1155
    • erc20-meta-token
    • niftyswap
    • wallet-contracts
  • Aragon
  • dydx-protocol
    • protocol_v1
    • exchange-wrappers
    • perpetual
    • solo
  • rena-finance
    • Rena

Indexing awesome Smart-contract projects implemented on top of Ethereum

Awesome Smart-Contracts OpenSource Projects - 超棒的智能合约开源项目

[email protected]:0xsequence/niftyswap.git

The Protocol for Trading Tokens

  • 0x.org/

  • github.com/0xProject

0x-monorepo

0x protocol monorepo – includes our smart contracts and many developer tools

  • asset-proxy

  • broker

  • coordinator

  • dev-utils

  • erc1155

  • erc20

  • erc721

  • exchange-forwarder

  • exchange-libs

  • exchange

  • extensions

  • integrations

  • multisig

  • staking

  • test-utils

  • utils

  • zero-ex

protocol

This repository is a monorepo including the 0x protocol smart contracts and numerous developer tools. Each public sub-package is independently published to NPM.

  • asset-proxy

  • broker

  • coordinator

  • dev-utils

  • erc1155

  • erc20

  • erc721

  • exchange-forwarder

  • exchange-libs

  • exchange

  • extensions

  • integrations

  • multisig

  • staking

  • test-utils

  • utils

  • zero-ex

VDF

A Solidity implementation of a VDF verifier contract.

  • Verifier.sol

  • VerifierTesting.sol

0xsequence

A blockchain infrastructure stack for seamless user experiences on Ethereum

  • sequence.build

  • github.com/0xsequence

Awesome Smart-Contracts OpenSource Projects - 超棒的智能合约开源项目

erc-1155

Ethereum Multi-Token Standard (ERC-1155)

This repository maintains a secure, efficient and standards-compliant implementation of the ERC-1155 token standard for Ethereum. The implementation was created during Horizon Blockchain Games’ participation in the coauthoring of the ERC-1155 and is used by Skyweaver, Opensea, and many other projects since its release.

The ERC-1155 token standard contains multiple classes of tokens referenced by IDs from non-fungible (max supply=1), to semi-fungible (supply=low), to highly fungible (supply=high). Standard interface discussion at ERC-1155.

Audits

  • Security_Audit_Horizon_Games_23-12-19_2.pdf

  • horizon-games-audit-2020-02.pdf

erc20-meta-token

  • General ERC20 to ERC1155 Token Wrapper Contract.

  • Allows any ERC-20 token to be wrapped inside of an ERC-1155 contract, and thereby allows an ERC-20 token to function as an ERC-1155 contract.

Contracts

  • ERC20Wrapper.sol Allows users to wrap any amount of any ERC-20 token with a 1:1 ratio of corresponding ERC-1155 tokens. Each ERC-20 is assigned an ERC-1155 id for more efficient CALLDATA usage when doing transfers.

Audits

  • Security_Audit_Horizon_Games_23-12-19_2.pdf

  • horizon-games-audit-2020-02.pdf

niftyswap

Niftyswap is a decentralized token swap protocol for ERC-1155 tokens on Ethereum. In other words, Niftyswap is Uniswap for ERC-1155 tokens.

We are incredibly thankful for the work done by the Uniswap team, without which Niftyswap wouldn’t exists.

Description

Niftyswap is an implementation of Uniswap, a protocol for automated token exchange on Ethereum. While Uniswap is for trading ERC-20 tokens, Niftyswap is a protocol for x ERC-20 tokens. Both are designed to favor ease of use and provide guaranteed access to liquidity on-chain.

Most exchanges maintain an order book and facilitate matches between buyers and sellers. Niftyswap smart contracts hold liquidity reserves of various tokens, and trades are executed directly against these reserves. Prices are set automatically using the constant product $x*y = K$ market maker mechanism, which keeps overall reserves in relative equilibrium. Reserves are pooled between a network of liquidity providers who supply the system with tokens in exchange for a proportional share of transaction fees.

An important feature of Nitfyswap is the utilization of a factory/registry contract that deploys a separate exchange contract for each ERC-1155 token contract. These exchange contracts each hold independent reserves of a single fungible ERC-1155 currency and their associated ERC-1155 token id. This allows trades between the [Currency](#currency) and the ERC-1155 tokens based on the relative supplies.

For more details, see Specification.pdf

Differences with Uniswap

There are some differences compared to the original Uniswap that we would like to outline below:

  1. For ERC-1155 tokens, not ERC-20s

  2. Base currency is not ETH, but needs to be an ERC-1155

  3. Liquidity fee is 0.5% instead of 0.3%

  4. All fees are taken from base currency (Uniswap takes trading fees on both sides). This will lead to some small inneficiencies which will be corrected via arbitrage.

  5. Users do not need to set approvals before their first trade

  6. 100% native meta-tx friendly for ERC-1155 implementations with native meta-tx functionalities

  7. Front-end implementations can add arbitrary fee (in addition to the 0.5%) for tokens with native meta-transactions.

  8. Less functions than Uniswap

There are pros and cons to these differences and we welcome you to discuss these by openning issues in this repository.

Contracts:

  • NiftyswapExchange.sol: The exchange contract that handles the logic for exchanging assets for a given base token.

  • NiftyswapFactory.sol: The exchange factory that allows the creation of nifyswap exchanges for the tokens of a given ERC-1155 token conract and an ERC-1155 base currency.

  • WrapAndNiftyswap.sol: Will allow users to wrap their ERC-20 into ERC-1155 tokens and pass their order to niftyswap. All funds will be returned to original owner and this contact should never hold any funds outside of a given wrap transaction.

Audits

  • Security_Audit_Nitfyswap_Horizon_Games_1.pdf

  • consensys-diligence-audit-2020-02.pdf

wallet-contracts

Sequence, Ethereum Smart Wallet Contracts

Contracts

  • Factory.sol: Will deploy a new wallet instance.

  • Wallet.sol: Minimal upgradeable proxy implementation, delegates all calls to the address defined by the storage slot matching the wallet address.

  • utils/SignatureValidator.sol: Contains logic for signature validation. Signatures from wallet contracts assume ERC-1271 support (github.com/ethereum/EIPs/blob/master/EIPS/eip-1271.md)

Audits

  • Consensys_Diligence.md

  • Quantstamp_Arcadeum_Report_Final.pdf

  • sequence_quantstamp_audit_feb_2021.pdf

Aragon

dydx-protocol

The Protocol for Decentralized Margin Trading & Derivatives

  • dydx.exchange

  • github.com/dydxprotocol

protocol_v1

[DEPRECATED] Solidity Smart Contracts for the dYdX V1 Margin Trading Protocol.

exchange-wrappers

Collection of exchange wrapper contracts used by the dYdX Protocol.

perpetual

Ethereum Smart Contracts and TypeScript client library for the dYdX Perpetual Contracts Protocol. Currently used by trade.dydx.exchange.

solo

dYdX V2 Margin Trading Protocol.

rena-finance

​RenaSwap is a one-sided automated market maker-based decentralized token swap protocol which utilizes token wrappers, buy-only liquidity pairs, and circulating asset flows to amplify volume for all tokens integrated with RenaSwap. We call this Volume Aggregation as it gives new life to all participating projects in the form of increased volume, which attracts more liquidity, increasing incentives for Liquidity Providers. Its specialized design utilizes RENA, our deflationary ERC-20 utility token, to tap into the numerous capital flows moving through interoperating DEXs and share a percentage of those flows with ETH/RENA liquidity providers.

  • rena.finance/

  • github.com/Rena-Finance

Rena

  • Claim.sol

  • FeeDistributor.sol

  • LPStaking.sol

  • Migrations.sol

  • Rebalancer.sol

  • Rena.sol

  • RenaswapV1Factory.sol

  • RenaswapV1Pair.sol

  • RenaswapV1Router.sol

  • RenaswapV1Wrapper.sol

  • ReservationEvent.sol

部分转自网络,侵权联系删除区块链源码网

www.interchains.cc

https://www.interchains.cc/22639.html

区块链毕设网(www.interchains.cc)全网最靠谱的原创区块链毕设代做网站 部分资料来自网络,侵权联系删除! 最全最大的区块链源码站 ! QQ3039046426
区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » Awesome Smart-Contracts OpenSource Projects – 超棒的智能合约开源项目区块链毕设代写

提供最优质的资源集合

立即查看 了解详情