Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@1inch/limit-order-protocol-contract
Advanced tools
The master
branch contains the latest work-in-progress version of limit orders. It hasn't been audited and may contain severe security issues or may not work at all.
Please, use the commit tagged version to get the latest production version that has passed through a series of security audits:
v2
- Limit order protocol v2 / security audits3.0.1
Limit order protocol v3 / security auditsYou can find the latest general overview and documentation on the 1inch limit orders protocol in the description.md. Documentation for this and previous versions can be found on the 1inch documentation portal.
The repository contains smart contracts for EVM-based blockchains (such as Ethereum, Binance Smart Chain, etc.). These contracts are a core part of the 1inch limit order protocol, allowing users to create limit orders off-chain that can be filled on-chain. A limit order is a data structure signed according to EIP-712.
The key features of the protocol are extreme flexibility and high gas efficiency, which are achieved with the following features
Basic features
Advanced features
IERC20
, allowing the swapping of non-ERC20 tokens, such as ERC721 or ERC1155.Separate RFQ order are deprecated in v4. To create the most gas efficient order use a basic order without extensions.
You can find 1inch limit order protocol deployments here:
Ethereum mainnet: 0x119c71D3BbAC22029622cbaEc24854d3D32D2828
BSC mainnet: 0x1e38Eff998DF9d3669E32f4ff400031385Bf6362
Polygon mainnet: 0x94Bc2a1C732BcAd7343B25af48385Fe76E08734f
Optimism Mainnet: 0x11431a89893025D2a48dCA4EddC396f8C8117187
Arbitrum One: 0x7F069df72b7A39bCE9806e3AfaF579E54D8CF2b9
Gnosis Chain: 0x54431918cEC22932fCF97E54769F4E00f646690F
Avalanche: 0x0F85A912448279111694F4Ba4F85dC641c54b594
Kovan Testnet: 0xa218543cc21ee9388Fa1E509F950FD127Ca82155
Fantom Opera: 0x11DEE30E710B8d4a8630392781Cc3c0046365d4c
You can find audit reports on etherscan and in the separate audit repository.
Plenty of utils that helps create & sign orders are available in our typescript utils library:
FAQs
1inch Limit Order Protocol
The npm package @1inch/limit-order-protocol-contract receives a total of 22 weekly downloads. As such, @1inch/limit-order-protocol-contract popularity was classified as not popular.
We found that @1inch/limit-order-protocol-contract demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.