bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 15쪽 중 12쪽
lize(
address _accessControl,
address _asset,
uint256 _lockDuration
) external initializer;
```
| Parameter | Description |
| ---------------- | ------------------------------------------------- |
| `_accessControl` | AccessControl contract |
| `_asset` | cUSD token address (the underlying ERC4626 asset) |
| `_lockDuration` | Yield vesting period in seconds |
The contract's ERC20 name and symbol are derived automatically from the underlying cUSD token: `"Staked " + name` and `"st" + symbol`.
***
## L2Token
`L2Token` is a LayerZero OFT (Omnichain Fungible Token) with EIP-2612 permit support. It is deployed on L2/alt-chain destinations to represent bridged cUSD or other Cap tokens.
**Key properties**:
* Standard `OFT` from the LayerZero SDK — `send` and `receive` cross-chain transfers
* `permit` support via EIP-2612 for gasless approvals
* Not upgradeable — deployed with a fixed constructor
* Cross-chain supply is managed by the LayerZero endpoint; no manual minting
### Constructor
```solidity
constructor(
string memory _name,
string memory _symbol,
address _lzEndpoint,
address _delegate
)
```
| Parameter | Description |
| ------------------- | ------------------------------------------------------------------------ |
| `_name` / `_symbol` | ERC20 name and symbol |
| `_lzEndpoint` | LayerZero endpoint contract on this chain |
| `_delegate` | Address authorized to configure the OApp (peer chains, gas limits, etc.) |
***
## Usage Examples
### 1. Staking cUSD to earn yield
```solidity
interface IStakedCap {
function deposit(uint256 assets, address receiver) external returns (uint256 shares);
function redeem(uint256 shares, address receiver, address owner) external returns (uint256 assets);
function totalAssets() external view returns (uint256);
function convertToAssets(uint256 shares) external view returns (uint256);
}
address stcusd = 0x...;
address cusd = 0x...;
uint256 deposit = 10_000e18; // 10,000 cUSD
// Approve and deposit
IERC20(cusd).approve(stcusd, deposit);
uint256 shares = IStakedCap(stcusd).deposit(deposit, msg.sender);
// Later: check accrued value
uint256 currentValue = IStakedCap(stcusd).convertToAssets(shares);
// currentValue > deposit once yield has been notified and vested
```
***
### 2. Notifying new yield
```solidity
interface IStakedCap {
function notify() external;
function lockedProfit() external view returns (uint256);
function lastNotify() external view returns (uint256);
function lockDuration() external view returns (uint256);
}
address stcusd = 0x...;
// Check if previous yield has finished vesting before notifying
uint256 locked = IStakedCap(stcusd).lockedProfit();
if (locked == 0) {
IStakedCap(stcusd).notify(); // starts new vesting cycle
}
```
***
### 3. Checking the cUSD vault composition
```solidity
interface ICapToken {
function assets() external view returns (address[] memory);
function totalSupplies(address _asset) external view returns (uint256);
function totalBorrows(address _asset) external view returns (uint256);
function availableBalance(address _asset) external view returns (uint256);
function utilization(address _asset) external view returns (uint256 ratio);
}
address cusd = 0x...;
address[] memory vaultAssets = ICapToken(cusd).assets();
for (uint i; i < vaultAssets.length; i++) {
address asset = vaultAssets[i];
uint256 supply = ICapToken(cusd).totalSupplies(asset);
uint256 borrowed = ICapToken(cusd).totalBorrows(asset);
uint256 available = ICapToken(cusd).availableBalance(asset);
uint256 util = ICapToken(cusd).utilization(asset); // ray
// util / 1e25 = utilization in basis points
}
```
# Terms and Conditions
By using our platform, you agree to comply with and be bound by the following terms and conditions, as well as all policies referenced herein.
* [Platform Terms of Use](/resources/terms-and-conditions/platform-terms-of-use)
* [Privacy Policy](/resources/terms-and-conditions/privacy-policy)
Last updated: June 2, 2025
# Platform Terms of Use
**COVERED AGRENTS S.A.**\
**PLATFORM TERMS OF USE**<br>
Last Revised: March 26, 2025<br>
The website located at cap.app is published, owned, and operated by Covered Agents S.A., a corporation incorporated under the laws of the Republic of Panama (“Company”), its Affiliates, and related entities. These Platform Terms of Use (the “Terms,” or “Agreement”) govern the user’s (“User”) access to and use of the Platform’s (as defined below) front-end, whether accessed via computer, mobile device, or otherwise (individually and collectively, the “Website”), as well as any products and services provided by Company (the “CAP Services”) (the Website, together with the CAP Services, collectively referred to as the “Service”).
1. ACCEPTANCE OF AGREEMENT\
THESE TERMS SET FORTH THE LEGALLY BINDING TERMS AND CONDITIONS THAT GOVERN USER’S USE OF THE SERVICE AND ALL RELATED TOOLS, MOBILE APPLICATIONS, WEB APPLICATIONS, DECENTRALIZED APPLICATIONS, SMART CONTRACTS, AND APPLICATION PROGRAMMING INTERFACES (“APIS”) LOCATED AT ANY COMPANY WEBSITE INCLUDING WITHOUT LIMITATION, SUCCESSOR WEBSITE(S) OR APPLICATION(S) THERETO (COLLECTIVELY, THE “PLATFORM”). THESE TERMS SET OUT USER’S RIGHTS AND RESPONSIBILITIES WITH RESPECT TO USER’S USE OF THE PLATFORM FOR ANY PURPOSE, INCLUDING BUT NOT LIMITED TO DEPOSITING VARIOUS DIGITAL ASSETS AS COLLATERAL INTO THE PLATFORM’S SMART CONTRACTS, ENABLING THEM TO MINT cUSD, PROVIDE LIQUIDITY, OR GENERATE YIELD. BY USING THE SERVICE OR ACCESSING THE PLATFORM IN ANY MANNER, USER\
ACCEPTS AND AGREES TO BE BOUND AND ABIDE BY THESE TERMS AND ALL OF THE TERMS\
INCORPORATED HEREIN BY REFERENCE. BY AGREEING TO THESE TERMS, USER HEREBY CERTIFIES THAT USER IS AT LEAST 18 YEARS OF AGE. IF USER DOES NOT AGREE TO THESE TERMS, USER MAY NOT ACCESS OR USE THE WEBSITE OR THE PLATFORM.\
PLEASE BE AWARE THAT THESE TERMS REQUIRE THE USE OF ARBITRATION (SECTION 14.5) ON AN INDIVIDUAL BASIS TO RESOLVE DISPUTES, RATHER THAN JURY TRIALS OR CLASS ACTIONS, AND LIMIT THE REMEDIES AVAILABLE TO USER IN THE EVENT OF A DISPUTE.\
By accessing, browsing, submitting information to, and/or using the Platform, User accepts and agrees to be bound and abide by these Terms and Company’s Privacy Policy, incorporated herein by reference, and to comply with all applicable laws, including, without limitation, all federal, state and local tax and tariff laws, regulations, and/or directives. Accordingly, under Article 6 of the General Data Protection Regulation, or “GDPR,” Users in the European Union acknowledge and consent to Company’s processing of personal data as necessary for the performance of these Terms, any applicable agreements, and use of the Website. If User does not agree to the Terms, please do not use the Platform.
2. AMENDMENTS\
Company reserves the right to amend this Agreement and/or Company’s Privacy Policy described in Section 4 below, at any time with or without notice, as determined by Company in its sole discretion. Company will post any amendment on the Website. User should check this Agreement and Company’s Privacy Policy regularly for updates. By continuing to use the Platform, the Website, or the Service after such amendment is made, User accepts and agrees to such amendment. If\
User does not agree to any amendment to any of these agreements, User must stop using the Platform, the Website, and the Service. If User has any questions about the terms and conditions in this Agreement or Company’s Privacy Policy, please contact Company at <info@coveredagents.com>.
3. DEFINITIONS AND INTERPRETATION\
3.1 Defined Terms. Capitalized terms not otherwise defined in these Terms will have the following\
meanings: (a) “Affiliate” means, with respect to a party, any person, firm, corporation, partnership (including, without limitation, general partnerships, limited partnerships, and limited liability partnerships), limited liability company, or other entity that now or in the future, directly controls, is controlled with or by or is under common control with such party.\
(b) “Applicable Law” means all laws, statutes, rules, regulations, ordinances, and other\
pronouncements having the effect of law of any Governmental Authority, including the Republic of Panama.\
(c) “Blockchain” generally means a peer-to-peer distributed and public immutable ledger that\
maintains a record of all transactions occurring on such ledger, through a growing list of records (blocks) that are securely linked together via cryptographic hashes. Each block contains a cryptographic hash of the previous block, a timestamp, and transaction data.\
(d) “Business Day” means any day (other than a Saturday, Sunday, or legal holiday) on which\
financial institutions in the Commonwealth of Virginia are authorized or obligated to close.\
(e) “CAP Ecosystem” means all the projects and functionalities listed at cap.app including without\
limitation any transactions, communications, and collaborations with other established projects.\
(f) “Governmental Authority” means any court, tribunal, arbitrator, authority, agency, commission,\
official, or other instrumentality of the United States or any state, county, city, or other political subdivision or similar governing entity.\
(g) “Smart Contract” means a program hosted on a Blockchain, consisting of code specifying\
predetermined conditions that, when met, trigger self-executing outcomes.\
(h) “Wallet” means a secure digital wallet, created through a combination of private and public\
cryptographic keys, that enables users to interact with, and transact on, blockchain networks including but not limited to cryptographically signing smart contracts, and sending, receiving, and monitoring cryptocurrencies and other digital tokens.
4. PRIVACY\
By using the Platform, Website, or Service, User agrees to, and is bound by, the terms of Company’s Privacy Policy, which is incorporated by reference into this Agreement as if it were set forth herein in its entirety. The Privacy Policy describes how Company collects, uses, and discloses information provided by User.
5. COMMUNICATION WITH USERS\
User affirms that it is aware of and acknowledges that Company is a Blockchain service provider and has designed the Platform to be directly accessible by Users without any involvement or actions taken by Company or any third-party.
6. THIRD-PARTY LINKS, PRODUCTS, AND APPLICATIONS\
6.1 Third-Party Sites. The Website may contain links to websites controlled or operated by persons and companies other than Company (“Linked Sites”), including but not limited to any sites related to digital transactions occasionally hyperlinked, such as X, Discord, Discourse, Gitbook, and Telegram, and websites referencing or supporting Blockchain Technology projects, marketplaces, and trading platforms. Linked Sites are not under the control of Company, and Company is not responsible for the contents of any Linked Site, including without limitation any link contained on a Linked Site, or any changes or updates to a Linked Site. Company is not responsible if the Linked Site is not working correctly or for any viruses, malware, or other harms resulting from User’s use of a Linked Site. Company is providing these links to User only as a convenience, and the inclusion of any\
link does not imply endorsement by Company of the site or any association with its operators. User is responsible for viewing and abiding by the privacy policies and terms of use posted on the Linked Sites. User is solely responsible for any dealings with third parties who support Company or are identified on the Website, including any delivery of and payment for goods and services. Company does not store any information shared with a Linked Site and is not responsible for any personally identifiable information shared with any Linked Site.\
6.2 Third-Party Smart Contracts. User acknowledges and understands that Company uses certain\
third-party Smart Contracts that it has no ownership of, or control over, which are core components of the Platform. Company is not responsible for any coding errors, glitches, or any functionality, or lack thereof, of such third-party Smart Contracts.\
6.3 Release. To the fullest extent permitted by law, User hereby releases and forever discharges Company (and its Affiliates, officers, employees, agents, successors, and assigns) from, and hereby waives and relinquishes, each and every past, present, and future dispute, claim, controversy, demand, right, obligation, liability, action and cause of action of every kind and nature (including personal injuries, death, and property damage), that has arisen or arises directly or indirectly out of, or that relates directly or indirectly to, the Platform (including any interactions\
with, or act or omission of, Company’s partners or any other third-party or any Linked Sites). IF USER IS A CALIFORNIA RESIDENT, USER HEREBY WAIVES CALIFORNIA CIVIL CODE SECTION 1542 IN CONNECTION WITH THE FOREGOING, WHICH STATES: “A GENERAL RELEASE DOES NOT EXTEND TO CLAIMS WHICH THE CREDITOR DOES NOT KNOW OR SUSPECT TO EXIST IN HIS OR HER FAVOR AT THE TIME OF EXECUTING THE RELEASE, WHICH IF KNOWN BY HIM OR HER MUST HAVE MATERIALLY AFFECTED HIS OR HER SETTLEMENT WITH THE DEBTOR.”
7. THE PLATFORM\
7.1 Purpose of the Platform and Website. The Platform is a fully decentralized lending protocol. The\
Platform allows Users to mint cUSD by staking USDC or USDT. Similarly, the Platform can provide liquidity to Users by allowing Users to borrow from the collateral pool. Stakers and restakers can earn yield by providing collateral to the Platform’s pools. The Website is provided for Users to access the Platform, use the Service, and to provide updates about the CAP Ecosystem to Users.\
7.2 Website Content. Company does not warrant the accuracy, completeness, or usefulness of this\
information at any particular time for any particular purpose. Any reliance User places on such information is strictly at User’s own risk. Company disclaims all liability and responsibility arising from any reliance placed on such content by User, or by anyone who may be informed of any of its contents.\
7.3 Use of the Website, Platform and Service; Licenses. Subject to this Agreement, Company grants User a limited, revocable, non-exclusive, non-transferable, non-sublicensable license to access and use the Platform, including the Website and the data, material, content, or information herein (collectively, the “Content”) solely for User’s personal use. User’s right to access and use the same shall be limited to the purposes described in these Terms unless User is otherwise expressly authorized by Company, in writing, to use the Platform for User’s own commercial purposes. User agrees to use the Platform only for lawful purposes, comply with all rules governing any\
transactions on and through the Platform and comply with the law. Any rights not expressly granted herein are reserved, and no license or right to use any trademark of Company or any third-party is granted to User.\
7.4 Additional Considerations\
(a) Transactions Are Recorded on Public Blockchains. The transactions that take place on the\
Platform are managed and confirmed via public Blockchains. User understands that its Wallet address will be made publicly visible whenever it engages in a transaction on the Platform. Company does not own or control any Blockchain that Company chooses to interface with, or any other third-party site, product, or service that User might access, visit, or use for the purpose of enabling User to access and utilize the various features of the Platform. Company is not liable for the acts or omissions of any such third parties, and will not be liable for any damage that a User may suffer as a result of its transactions or any other interaction with any such third\
parties.\
(b) Gas. All transactions on the Platform are facilitated by Smart Contracts. Public Blockchains\
require the payment of a transaction fee (a “Gas Fee”) for every transaction that occurs on its network, and thus every transaction occurring on the Platform. The value of the Gas Fee changes, often unpredictably, and is entirely outside of the control of Company or the Platform. User acknowledges that under no circumstances will a transaction on the Platform be invalidated, revocable, retractable, or otherwise unenforceable on the basis that the Gas Fee for the given transaction was unknown, too high, or otherwise unacceptable to User.\
7.5 Prohibitions and Restrictions\
(a) Prohibited Uses. User agrees that it will not:\
(i) Use the Platform or the Service in any manner that could damage, disable, overburden, or\
impair the Website or the Platform or interfere with any other party’s use and enjoyment of the same;\
(ii) Attempt to gain unauthorized access to any website or platform, computer systems, or\
networks associated with Company, the Platform, or the Website;\
(iii) Obtain or attempt to obtain any materials or information through the Website by any\
means not intentionally made available or provided by Company;\
(iv) Use any robot, spider, or other automatic device, process or means to access the Website\
for any purpose, including monitoring or copying any of the material on the Website;\
(v) Introduce any viruses, Trojan horses, worms, logic bombs, or other material which is\
malicious or technologically harmful;\
(vi) Send unsolicited messages or use the Website to send unsolicited messages such as spam;\
(vii) Perform any benchmark tests or analyses related to the Website or the Platform without\
express written permission of Company;\
(viii) Send spam or engage in phishing. Spam is unwanted or unsolicited bulk email, postings,\
contact requests, or similar electronic communications. Phishing is sending emails or other electronic communications to fraudulently or unlawfully induce recipients to reveal personal or sensitive information, such as passwords, dates of birth, Social Security numbers, passport numbers, credit card information, financial information, or other sensitive information, or to gain access to Wallets or records, exfiltration of documents or other sensitive information, payment and/or financial benefit;\
(ix) Attack the Website or the Platform via a denial-of-service attack or a distributed\
denial-of-service attack;\
(x) Impersonate or attempt to impersonate Company, a Company employee, another User or\
any other person or entity (including, without limitation, by using email addresses associated with any of the foregoing);\
(xi) License, sell, rent, lease, transfer, assign, distribute, host, or otherwise commercially\
exploit the Service, whether in whole or in part, or any Content displayed on the Service except as\
permitted herein;\
(xii) Modify, make derivative works of, disassemble, reverse compile or reverse engineer any\
part of the Service or the Platform; or\
(xiii) Access the Platform in order to build a similar or competitive website, product, or\
service.\
(b) Restrictions. Except as expressly stated herein, no part of the Platform may be copied,\
reproduced, distributed, republished, downloaded, displayed, posted, or transmitted in any form or by any means. Unless otherwise indicated, any future release, update, or other addition to functionality of the Platform will be subject to this Agreement. All copyright and other proprietary notices related to the Platform (including on any Content displayed on the Website) must be retained on all copies thereof. User will not use the Website or Platform for any illegal purpose.\
7.6 Modification. Company reserves the right, at any time, to modify, suspend, or discontinue the Platform\
(in whole or in part) with or without notice to Users. User agrees that Company will not be liable to User or to any third-party for any modification, suspension, or discontinuation of the Platform or any part thereof.\
7.7 Affiliates. The rights프로젝트로 돌아가기