Swell 백서

Swell

원문

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 9쪽 중 7쪽

, including a sufficient understanding of blockchain technologies, cryptocurrencies, and other digital assets, storage mechanisms (such as wallets), and blockchain-based software systems to be able to assess and evaluate the risks and benefits of participating in the Airdrop. You acknowledge and agree that there are risks associated with purchasing and holding cryptocurrency and using blockchain technology. These include, but are not limited to, risk of losing access to cryptocurrency due to slashing, loss of private key(s), custodial error or purchaser error, risk of mining or blockchain attacks, risk of hacking and security weaknesses, risk of unfavorable regulatory intervention in one or more jurisdictions, risk related to token taxation, risk of personal information disclosure, risk of uninsured losses, volatility risks, and unanticipated risks.\ 10.2. You agree and acknowledge that if you lose access to your Wallet or private keys, you may never be able to access your Tokens. You agree that the Organization Entities shall have no responsibility for any such losses.\ 10.3.3. By participating in the Airdrop, you acknowledge that blockchain technologies, including the Tokens, involve inherent risks such as volatility, loss of private keys, smart contract vulnerabilities, and regulatory uncertainties. You also acknowledge that the Tokens may not provide specific functionality or have value, and you assume all risks associated with transactions, token utility, and network interactions. The Organization is not liable for any losses, including but not limited to technical malfunctions, smart contract errors, or market risks.\ <br> 11. Release\ To the fullest extent permitted by applicable law, you release the Organization Entities from responsibility, liability, claims, demands, and/or damages (actual and consequential) of every kind and nature, known and unknown (including, but not limited to, claims of negligence), arising out of or related to disputes between participants in the Airdrop and the acts or omissions of third parties.\ <br> 12. Indemnity\ To the fullest extent permitted by applicable law, you will indemnify, defend and hold harmless the Organization Entities from and against all liabilities, costs, damages, penalties, losses, claims, and expenses (including reasonable attorneys’ fees) of any kind, arising from or related to (a) your participation in the Airdrop, (b) your violation of these Airdrop Terms, (c) your violation of any rights of any third party, (d) your violation of any applicable law, rule or regulation, (e) any disputes or issues between you and any third party; and (f) any other party’s access to or use of the Airdrop with your Wallet or private key.\ <br> 13. Termination\ The Organization may suspend or terminate your access to the Airdrop at our sole discretion, without notice, including, without limitation, if we believe you violated these Airdrop Terms. Upon termination, you continue to be bound by Sections 6-13 of these Airdrop Terms.\ <br> 14. General Terms\ 14.1. These Airdrop Terms constitute the entire agreement between you and the Organization relating to your participation in the Airdrop and supersede all prior or contemporaneous communications, agreements, and proposals with respect to the Airdrop.\ 14.2. We reserve the right to modify these Airdrop Terms in our sole discretion at any time. If we make changes to these Airdrop Terms, we will provide notice of such changes, such as by posting a notice on our website, updating the “Last Revised” date above, or through other means. By continuing to participate in the Airdrop, you agree to the revised Airdrop Terms.\ 14.3. These Airdrop Terms do not, and shall not be construed to, create any partnership, joint venture, employer-employee, agency, or franchisor-franchisee relationship between you and the Organization. You may not assign, transfer, or delegate any or all of your rights or obligations under these Airdrop Terms without our prior written consent, and any attempt to do so will be null and void. We may freely assign, transfer, or delegate any of our rights and obligations under these Airdrop Terms.\ 14.4. If any term, clause, or provision of the Airdrop Terms is held to be illegal, invalid, void, or unenforceable (in whole or in part), then such term, clause, or provision shall be severable from the Airdrop Terms without affecting the validity or enforceability of any remaining part of that term, clause, or provision, or any other term, clause, or provision in the Airdrop Terms, which will otherwise remain in full force and effect. Any invalid or unenforceable provisions will be interpreted to affect the intent of the original provisions. If such construction is not possible, the invalid or unenforceable provision will be severed from the Airdrop Terms, but the rest of the Airdrop Terms will remain in full force and effect.No waiver of any provision of these Airdrop Terms will be deemed a further or continuing waiver of that term or any other term, and our failure to assert any right or provision under these Airdrop Terms will not constitute a waiver of that right or provision.\ <br> 15. Governing Law and Venue\ These Airdrop Terms and any action related thereto will be governed by the laws of the Republic of Panama, without regard to its conflict of laws provisions. Any disputes relating to these Airdrop Terms shall be subject to the exclusive jurisdiction of the courts of Panama.\ <br> 16. Contact Information\ If you have any questions about these Airdrop Terms, please contact us at [airdrop@overflowfoundation.io](mailto:airdrop@swellnetwork.io). <br> There is only one website for the Airdrop, which is the following: <https://app.swellnetwork.io/dao/voyage>. Do not trust any other website regardless of its source or origin or any link routing you to a different website. &#x20; Please check the url correctly before taking any action on or interacting with any website. The Organization will not be liable to any persons for any loss, liability, damage, cost, or expense suffered as a result of any interaction with any scam or fake website that impersonates the Organization, the Airdrop, the Token or the Services. <br> # Swell City - Black Pearl integration The display of Black Pearls on the [Swell App](https://app.swellnetwork.io/dao/swell-city) is currently under development and may not show all Black Pearls until all integrations are completed.&#x20; Below is a table that shows the integration status of each protocol and their status. Please check the table if you feel your Black Pearls are not displaying. This will be updated weekly. | Name | Protocol | Token | Category | Status | | -------------------------------------- | ------------ | -------------- | -------------------- | ------ | | Avalon swBTC | Avalon | swBTC | Borrow/Lend | Done | | Balancer baweth swethv1 | Balancer | swETH | Liquidity | Done | | Balancer baweth swethv2 | Balancer | swETH | Liquidity | Done | | Balancer gyro wsteth sweth | Balancer | swETH | Liquidity | Done | | Balancer gyro wsteth sweth 2 | Balancer | swETH | Liquidity | Done | | Balancer Tri-Pool | Balancer | rswETH | Liquidity | Done | | Balancer weth swethv3 | Balancer | swETH | Liquidity | Done | | Bunni\_weth\_rsweth\_500\_gauge | Bunni, Gauge | rswETH | Liquidity | Done | | Bunni\_weth\_rsweth\_500\_lp | Bunni | rswETH | Liquidity | Done | | dcsweTH Holding | Symbiotic | swETH | Holding | Done | | EigenLayer swETH | EigenLayer | swETH | Yield | Done | | Holding mswETH | Magpie | mswETH | Holding | Done | | Holding rswETH | Swell | rswETH | Holding | Done | | Karak mswETH Deposit | Karak | mswETH | Yield | Done | | Karak mswETH Shares | Karak | mswETH | Yield | Done | | Karak rswETH Deposit | Karak | rswETH | Yield | Done | | Karak rswETH Shares | Karak | rswETH | Yield | Done | | Karak swETH Deposit | Karak | swETH | Yield | Done | | Karak swETH Shares | Karak | swETH | Yield | Done | | Lyra rswETH | Lyra | rswETH | Yield | Done | | Maverick wstETH/rswETH #5 | Maverick | rswETH | Liquidity | Done | | Morpho ETH Side Deposit | Morpho | rswETH | | Done | | mswETH/swETH on Curve | Curve | mswETH, swETH | Liquidity | Done | | Pancake v3 Farm rswETH | Pancakeswap | rswETH | Liquidity | Done | | Pancakeswap rswETH Ichi Vault | Pancakeswap | rswETH | Liquidity | Done | | Pancakeswap swETH Ichi Vault | Pancakeswap | swETH | Liquidity | Done | | Pancakeswap swETH v3 Farm | Pancakeswap | swETH | Liquidity | Done | | rswETH/mswETH on Curve | Curve | mswETH, rswETH | Liquidity | Done | | rswETH/weETH on Curve | Curve | rswETH | Liquidity | Done | | rswETH/wETH on Curve | Curve | rswETH | Liquidity | Done | | Sturdy Collateral Deposit(swETH) | Sturdy | swETH | Borrow/Lend | Done | | Sturdy Collateral Deposit(Turbo swETH) | Sturdy | swETH | Borrow/Lend | Done | | Sturdy ETH Side Deposit | Sturdy | swETH | Borrow/Lend, Holding | Done | | swBTC Holding | Swell | swBTC | Holding | Done | | swETH Pendle 26th December | Pendle | swETH | Yield | Done | | Uniswap v3 NFT rswETH 0.05% | Uniswap | rswETH | Liquidity | Done | | Uniswap v3 NFT rswETH 0.05% | Uniswap | rswETH | Liquidity | Done | | Uniswap v3 NFT rswETH 0.3% | Uniswap | rswETH | Liquidity | Done | | Uniswap v3 NFT rswETH 1% | Uniswap | rswETH | Liquidity | Done | | Uniswap v3 NFT swETH 0.05% | Uniswap | swETH | Liquidity | Done | | Vanilla Holding swETH | Swell | swETH | Holding | Done | | Zircuit mswETH | Zircuit | mswETH | Yield | Done | | Zircuit rswETH | Zircuit | rswETH | Yield | Done | | Zircuit swETH | Zircuit | swETH | Yield | Done | # wSWELL Documentation wSWELL is a wrapped version of the SWELL token that implements a time-lock mechanism. It is an rEUL fork based on the ERC20WrapperLocked contract pattern and is designed to incentivize long-term participation in the Swellchain ecosystem. wSWELL tokens convert to SWELL tokens following a specific maturity schedule. ### Core Features * **1:1 Conversion Rate**: Each wSWELL token is redeemable for one SWELL token after the full maturity period * **10-Week Maturity Period**: Fixed and immutable maturity period of 70 days * **Early Unlock Penalty**: Unlocking before full maturity results in a reduced value, with the remainder sent back to the treasury * **Non-Fungible Behavior**: Despite having an ERC20-like interface, each wSWELL deposit creates a unique lock schedule * **Whitelist System**: Supports different levels of access control for administrative and distribution purposes *** ### Token Economics #### Unlock Schedule * **First 24 Hours**: The first 35% unlocks immediately on claim * **Remaining Period**: 65% unlocks linearly over the remaining \~69 days * **Early Withdrawal**: Users can withdraw early but forfeit the remaining locked tokens * **Forfeited Tokens**: Burned from total supply if withdrawn early #### Example Scenario If Swellio receives 1000 wSWELL: * 350 SWELL (35%) becomes immediately redeemable * 650 SWELL (65%) unlocks linearly over the remaining period * If withdrawn after 35 days: * \~675 SWELL tokens received (350 initial + \~325 from linear unlock) * \~325 SWELL tokens forfeited and burned *** ### Technical Implementation #### Contract Architecture The **wSWELL** contract is implemented as RewardToken inheriting from ERC20WrapperLocked: ```solidity contract RewardToken is ERC20WrapperLocked { function _calculateUnlockShare(uint256 lockTimestamp) internal view virtual override returns (uint256) { if (lockTimestamp > block.timestamp) return 0; unchecked { uint256 timeElapsed = block.timestamp - lockTimestamp; if (timeElapsed <= LOCK_NORMALIZATION_FACTOR) { return 0.35e18; // 35% initial unlock } else if (timeElapsed >= 70 days) { // Full maturity return SCALE; // 100% unlocked } else { // Linear unlock of remaining 80% over period return (timeElapsed - LOCK_NORMALIZATION_FACTOR) * 0.65e18 / (70 days - LOCK_NORMALIZATION_FACTOR) + 0.35e18; } } } } ``` wSWELL deployment on Swellchain: [Swell Chain token details | Blockscout](https://explorer.swellnetwork.io/token/0xda1F8EA667dc5600F5f654DF44b47F1639a83DD1) #### Key Constants * `LOCK_NORMALIZATION_FACTOR`: 1 day (normalizes timestamps to daily intervals) * `SCALE`: 1e18 (used for percentage calculations) * Maturity Period: 70 days (10 weeks) * Initial Unlock: 0.35e18 (35%) * Linear Unlock: 0.65e18 (65%) *** ### Claim and Unlock wSWELL → SWELL #### Claiming wSWELL 1. Users claim through the [wSWELL page](https://app.swellnetwork.io/earn/wswell) in the Swell app 2. wSWELL is transferred to the user's wallet, starting the unlock period 3. Lock schedule is tracked per-deposit #### Unlocking Process 1. Head to the [wSWELL page](https://app.swellnetwork.io/earn/wswell) in the Swell app (Unlock interface) 2. Connect your wallet 3. Unlock your wSWELL to redeem SWELL *** ### Links & Further Information wSWELL deployment on Swellchain: [Swell Chain token details | Blockscout](https://explorer.swellnetwork.io/token/0xda1F8EA667dc5600F5f654DF44b47F1639a83DD1) **rEUL Definition:** <https://forum.euler.finance/t/reward-eul-reul/1133> **ERC20WrapperLocked.sol:** <https://github.com/euler-xyz/evk-periphery/blob/master/src/ERC20/implementation/ERC20WrapperLocked.sol> # Archive # FAQs ## What is Swell L2? Swell L2 is a restaked rollup built in collaboration with AltLayer. ## What **will I get for L2 Pre-Launch Depositing?** Depositing in the Swell L2 Pre-Launch Deposit contract on mainnet makes you eligible for airdrops from both Swell and projects building on the L2. These projects include [ION Protocol](https://ionprotocol.io/), [Ambient Finance](https://ambient.finance/), [Brahma Finance](https://www.brahma.fi/), and more to be confirmed. Each of these will deliver tokens to depositors on the date of their respective airdrops. In addition, Swell will airdrop $SWELL to depositors on the launch of Swell L2. Note that this is separate to the 8% of supply that is allocated to Pearl holders. ## What can I deposit into Swell L2? You can deposit all assets listed [here](https://app.swellnetwork.io/swell-l2). ## How to deposit into Swell L2? View our step-by-step guide [here](https://app.gitbook.com/o/T03QeoH19oR80NW7Wqko/s/7UdE175zY4z4MFiWtgOF/~/changes/120/swell-layer-2/guides). ## **Can I withdraw from the L2 Pre-Launch Deposit?** Withdrawals can be made instantly at any time. There is no need to lock or bridge assets to earn points and receive the airdrop rewards. ## **What does Swell do with L2 Pre-Launch Deposited assets?** Assets deposited in the L2 Pre-Launch Deposit contract remain untouched in the contract on mainnet, with no additional risk incurred. Once Swell L2 is live, users will be able to bridge from mainnet to Swell L2. ## **How are assets in the L2 Pre-Launch Deposit contract secured?** You remain in control of L2 Pre-Launch Deposited assets and can withdraw at any time. The L2 Pre-Launch Deposit contract has been audited by [Hexens and MixBytes](https://github.com/SwellNetwork/v3-core-public/tree/master/Audit%20Reports/Swell%20L2%20Pre%20Deposit). ## **Is there a minimum deposit?** There is no minimum deposit requirement. <br> # Audits In line with all our deployed contracts, we apply the highest standards of security to our users.&#x20; The Swell L2 Pre Deposit contract was audited twice: * [Report](https://github.com/SwellNetwork/v3-core-public/blob/master/Audit%20Reports/Swell%20L2%20Pre%20Deposit/Swell%20Staking%20Security%20Audit%20Report.pdf) from MixBytes * [Report](https://github.com/SwellNetwork/v3-core-public/blob/master/Audit%20Reports/Swell%20L2%20Pre%20Deposit/swell-l2-pre-deposit-audit-april-2024%20\(Public\).pdf) from Hexens {% hint style="success" %} Swell is offering rewards of up to $250,000 USD for reporting of low to critical vulnerabilities on all levels of our technology stack from smart contract to websites and applications. &#x20; {% endhint %} # External research A step-by-step guide to taking part in Swell L2 ### Research reports * [The Optimal Restaking Experience](https://4pillars.io/en/articles/swell-l2-for-the-optimal-restaking-experience/public) * [A Deep Dive into the Most interesting L2](https://kairoscrypto.substack.com/p/swell-network-a-deep-dive-into-the) ### Data analytics * [Swell L2 | Dune](https://dune.com/swell-network/swell-l2) ### Community threads * [What are we building at Swell? ](https://x.com/AbishekFi/status/1789672050321408366) # Integrations # swBTC Staking SDK Integrate WBTC staking into your dApp, wallet, custodian, dashboard or platform. **swBTC SDK** is an SDK package developed by [P2P.org](https://p2p.org/) in collaboration with the Swell DAO. It serves the purpose of offering an easy way for intermediaries to manage swBTC via the Swell smart contract protocol. ## Getting Started To start using this toolkit, you first need to install the swBTC SDK ```javascript //yarn yarn add @p2p.org/swell-sdk //npm npm install @p2p.org/swell-sdk ``` To start using swBTC using the SDK toolkit: 1. Import the SDK module for staking and checking data. 2. Start a new module instance to enable the smart contract interactions. 3. Use the SDK stake module to deposit WBTC and receive swBTC 4. Use the SDK data module to check the total rewards accrued over time 5. Use the SDK stake module to withdraw WBTC by returning swBTC Request examples are provided below. ## 1. Import ```javascript import { SDKStake, SDKData } from '@p2p.org/swell-sdk'; ``` ## 2. Initialization ```javascript // set your RPC endpoint const rpc = "<Your_RPC_Endpoint>"; // initiate SDK stake module const stakeSDK = new SDKStake({ rpcProvider: rpc, // optional }); // initiate SDK data module const dataSDK = new SDKData({ rpcProvider: rpc, // optional }); ``` ## 3. Deposit WBTC to receive swBTC To deposit WBTC and receive swBTC, use the following code: ```javascript const provider = new providers.Web3Provider(window.ethereum); const signer = provider.getSigner(); const fromAddress = await signer.getAddress(); const depositTX = await stakeSDK.deposit(amount, fromAddress); // return the transaction hash const txHash = depositTX.result; console.log("Transaction Hash:", txHash); ``` ## 4. Deposit WBTC to receive swBTC You can check the total rewards accrued by your swBTC holdings over a specific time period: ```javascript const totalRewards = await dataSDK.getTotalRewards(fromAddress.address, timePeriod); console.log("Total Rewards Accrued:", totalRewards); ``` ## 5. Withdraw WBTC To withdraw WBTC along with any accrued rewards by returning swBTC, follow this process: ```javascript const withdrawTX = await stakeSDK.withdraw(amount, fromAddress); // return the transaction hash const txHash = withdrawTX.result; console.log("Withdrawal Transaction Hash:", txHash); ``` By following these steps, you should be able to effectively manage swBTC transactions and monitor your rewards using the SDK. If you encounter any issues or need further clarification, please [contact](https://docs.p2p.org/docs/contacts) P2P. # Deployed addresses ### Stake {% tabs %} {% tab title="Mainnet (ETH Liquid Staking)" %} <table><thead><tr><th width="247">Contract</th><th>Address</th></tr></thead><tbody><tr><td>swETH</td><td><a href="https://etherscan.io/address/0xf951e335afb289353dc249e82926178eac7ded78">0xf951E335afb289353dc249e82926178EaC7DEd78</a></td></tr><tr><td>swETH Deposit Manager<br>(Execution client " suggested-fee-receipient")</td><td><a href="https://etherscan.io/address/0xb3d9cf8e163bbc840195a97e81f8a34e295b8f39">0xb3D9cf8E163bbc840195a97E81F8A34E295B8f39</a></td></tr><tr><td>swETH Node Operator Registry</td><td><a href="https://etherscan.io/address/0x46ddc39e780088b1b146aba8cbbe15dc321a1a1d">0x46DdC39E780088B1B146Aba8cBBe15DC321A1A1d</a></td></tr></tbody></table> {% endtab %} {% tab title="Mainnet (ETH Liquid Restaking)" %} <table><thead><tr><th width="270">Contract</th><th>Address</th
프로젝트로 돌아가기