-
Notifications
You must be signed in to change notification settings - Fork 0
/
compound_faqs.sql
120 lines (120 loc) · 96.3 KB
/
compound_faqs.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('07b8876d-cac5-4900-8493-d28b6679a246', 'compound-eth-1', '2023-11-20 16:58:11.125', '2023-12-07 15:58:32.780', 'What are the latest updates on Ethereum v3 USDC comet market?', 'Over the past week, Gauntlet provided an update on Ethereum v3 USDC comet, highlighting the following key points: \n 1. **USDC Borrows:** There was a 4.28% increase in USDC borrows, rising from $350.15 million to $365.12 million. \n 2. **USDC Supply:** The supply of USDC saw a 4.85% increase, moving from $368.84 million to $386.74 million. \n 3. **USDC Utilization:** Utilization of USDC decreased slightly by 0.55%, from 94.93% to 94.41%. \n 4. **USDC Reserve Growth:** The minimum growth in USDC reserves was 7.03%, with a maximum of 17.0%, and an average growth of 10.06%. \n 5. **Net Protocol Profit:** The comet accumulated $37.09K in USDC reserves and distributed $208.06K in COMP rewards, resulting in a weekly Net Protocol Profit of -$170.98K.', 50, 'https://www.comp.xyz/t/gauntlet-weekly-market-updates-ethereum-usdc/4538/17');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('d75fcf34-5f45-456e-b1aa-bf4dc916969f', 'compound-eth-1', '2023-03-05 00:00:00.000', '2023-03-05 00:00:00.000', 'What is the Compound lending pool Ethereum address?', 'The Compound lending pool Ethereum addresses can be found in the documentation. For version 3 (v3), you can check the addresses here: https://docs.compound.finance/#networks, and for version 2 (v2), you can find them here: https://docs.compound.finance/v2/#networks.', 50, 'https://discord.com/channels/402910780124561410/402910780670083094/1103361944418779196');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('b2427fe7-de55-4137-baf7-fb60dc4e4f53', 'compound-eth-1', '2023-04-05 00:00:00.000', '2023-04-05 00:00:00.000', 'Where can I find the pure lending rate, or how can I collect this data using an API?', 'To access the pure lending rate or collect this data through an API, you can obtain the supply rate over time, block by block, for any market by utilizing a corresponding Ethereum Virtual Machine (EVM) archive node. The contract addresses required for this purpose are available in the documentation. \n v3 addresses are here: https://docs.compound.finance/#networks and v2 here: https://docs.compound.finance/v2/#networks', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1103404013476655176');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('2f86df6a-698c-4b44-80b6-a2986710cfc0', 'compound-eth-1', '2023-07-05 00:00:00.000', '2023-07-05 00:00:00.000', 'How can I calculate the interest I am paying each block for a Compound v2 borrowing rate that changes every block?', 'To calculate the interest you''re paying each block for a Compound v2 borrowing rate that changes every 15 seconds, you can use the following formula. Start with the annual rate (for e.g. 8%) and divide it by the total number of blocks in a year, which is approximately 2,592,000 blocks (60 seconds/minute x 60 minutes/hour x 24 hours/day x 365 days/year / 15 seconds/block = 2,592,000 blocks/year). This yields 0.00000308642, or 0.000308642% for each block. So, for every block in which you borrow, you would be paying 0.000308642% of the borrowed amount as interest.', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1104545553452380170');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('76807ba0-68a9-4f36-9db8-3234598ae50f', 'compound-eth-1', '2023-07-05 00:00:00.000', '2023-07-05 00:00:00.000', 'Is there a public address where Reserves are held that can be viewed on the blockchain, like Etherscan for v2?', 'The Reserves are held in the Comet or cToken (v2) contracts. You can find the specific addresses for these contracts in the documentation at the following link: https://docs.compound.finance/ ', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1104711559856525382');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('4843c59a-ecd1-4d3b-a223-5b8647cb7873', 'compound-eth-1', '2023-08-05 00:00:00.000', '2023-08-05 00:00:00.000', 'Where can I find the testnet where I can see how the platform work?', 'You can explore the platform''s functionality on the testnet by visiting this link: https://app.compound.finance/?market=usdc-polygon&testnet=. It offers a test environment to understand how the platform operates.', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1105029500879781908');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('75e05d76-0864-4eb3-9085-7012627838fb', 'compound-eth-1', '2023-09-05 00:00:00.000', '2023-09-05 00:00:00.000', 'If I borrow 100 ETH in Compound v2 with an 8% APR, after one year, will I have to repay 108 ETH? How do users who supply their tokens earn money every block, and what''s the timeframe for repaying the borrowed amount and interest?', 'Hypothetically, if you borrow 100 ETH with an 8% APR in Compound v2, after a year, you would owe 108 ETH to the protocol. Users who supply their tokens earn a portion of the APR as interest on their supplied assets, and a part goes to the protocol''s reserves. As a borrower, you don''t have a specific deadline to repay the borrowed amount. However, if your account violates collateral requirements, which it will eventually, a liquidator may liquidate your account, and this adds to the protocol reserves. Borrowers are encouraged to repay their loans or add collateral before their account is at risk of liquidation. The exact timeframe for repayment depends on individual account circumstances and market conditions.', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1105499111823781928');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('330f1e8f-aae7-4b91-8890-a46f13f4c689', 'compound-eth-1', '2023-05-13 00:00:00.000', '2023-05-13 00:00:00.000', 'Is there a minimum amount of COMP required for the lower borrow rate, specifically for USDC, on v3?', 'In Compound v3, there is only one borrow rate, and COMP does not provide any discounts on the borrow rate. Therefore, there is no minimum amount of COMP required for a lower borrow rate for USDC or any other asset. COMP rewards are for both suppliers and borrowers on the USDC market: https://app.compound.finance/markets?market=usdc-mainnet', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1106774980814979093');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('1e96d45d-19ca-46e0-b021-cbaa1a1b2b51', 'compound-eth-1', '2023-05-14 00:00:00.000', '2023-05-14 00:00:00.000', 'What does the Position Migrator extension enable users to do?', 'The Position Migrator extension allows users to import positions from Compound v2 and Aave v2 into their Compound III balance.', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1107047724030902406');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('9697a44a-5b68-41c4-b526-38d05d01f96d', 'compound-eth-1', '2023-05-13 00:00:00.000', '2023-05-13 00:00:00.000', 'Is there a way to import or export an entire position to another wallet using the Position Migrator extension?', 'No, the Position Migrator extension does not offer the functionality to import or export positions to another wallet. In this case, manual transfers and actions would be the most suitable method for moving your assets between wallets.', 2, 'https://discord.com/channels/402910780124561410/402910780670083094/1106994487210807428');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('17557d8f-418e-4979-b1ac-6f1962dd0953', 'compound-eth-1', '2023-05-14 00:00:00.000', '2023-05-14 00:00:00.000', 'In the v3 UI for "borrow APR," there are two percentages: a larger one in white letters at 4.01% and a smaller one in gray letters next to the mini Compound logo that says 3.19%. What is the purpose of the lower percentage?', 'The smaller percentage, displayed in gray letters next to the mini Compound logo (3.19%), represents the COMP rewards rate for borrowing. In this example, borrowers are paying 4.01% APR as interest but are also receiving 3.19% APR in COMP rewards. This results in a net borrow rate of 0.82% APR after accounting for the rewards received. COMP rewards are for both suppliers and borrowers on the USDC market: https://app.compound.finance/markets?market=usdc-mainnet', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1107373424868864112');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('87c43a4b-699b-4869-906b-5a79575da6d7', 'compound-eth-1', '2023-05-16 00:00:00.000', '2023-05-16 00:00:00.000', 'How do rewards work when ARB is supplied on Compound, and when are they distributed?', 'Compound rewards are earned when you supply the base asset, which is USDC. Collaterals do not earn interest in v3, only the base asset.If you provide assets like ARB, ETH, WBTC, or GMX, these can be used as collateral to borrow USDC, but you won''t receive rewards for supplying them. Rewards are typically earned on the base asset. This design choice stems from the fact that in v3, collateral assets cannot be used for borrowing, which means they don''t generate interest. However, as a trade-off, the v3 system allows you to borrow more against your collateral. In essence, v3 is finely tuned to deliver the most favorable borrowing experience. On the contrary V2 offers interest on collaterals too.', 10, 'https://discord.com/channels/402910780124561410/402910780670083094/1107952201361530921');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('c07e3fce-b333-4728-9b62-6a62a22c10e7', 'compound-eth-1', '2023-05-16 00:00:00.000', '2023-05-16 00:00:00.000', 'Where can I find the protocol reserve?', 'In Compound v3, each market has its own reserves. You can find the reserve amount for a specific market on the markets page at this link: https://app.compound.finance/markets. Similarly, for Compound v2, you can locate the reserves for each cToken by visiting this link: https://app.compound.finance/markets?market=v2', 2, 'https://discord.com/channels/402910780124561410/402910780670083094/1105405257007251537');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('cc237cce-f21f-486c-b84f-64b8e60af0fb', 'compound-eth-1', '2023-05-24 00:00:00.000', '2023-05-24 00:00:00.000', 'What is the maximum borrowing power if I provide USDC as collateral to borrow additional USDC?', 'In V3 on Polygon, USDC serves as the base asset, but you can''t use it as collateral to borrow additional USDC. On Polygon, the collateral options available for borrowing USDC are MATIC, WETH, and WBTC.', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1110853962812358676');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('67dbe4eb-bfab-4d9f-b428-d1a7b173fa7b', 'compound-eth-1', '2023-05-25 00:00:00.000', '2023-05-25 00:00:00.000', 'Where can distribution rewards for borrowed USDC be claimed from?', 'If you have the same wallet connected to the interface, you should see your COMP balance in the top right-hand corner of the interface, and you can claim the rewards from there.', 2, 'https://discord.com/channels/402910780124561410/402910780670083094/1111192879453450290');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('f2fd02f9-63a7-4914-983e-e765862703ca', 'compound-eth-1', '2023-05-27 00:00:00.000', '2023-05-27 00:00:00.000', 'If I loan USDC, how much will I get paid, for example, for a 100 USDC loan?', 'The amount you get paid for a USDC loan, such as a 100 USDC loan, can be determined by checking the markets page, which displays the current Annual Percentage Rate (APR). The APR will give you an estimate of the interest you can earn on your loan.', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1112015385567440926');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('859517ad-2e5e-4f7a-bbf5-e80146b302a3', 'compound-eth-1', '2023-05-30 00:00:00.000', '2023-05-30 00:00:00.000', 'Why is it stated that the liquidation factor is 60%, but when assets are transferred, the risk becomes 92%? Is this a scam or a farce?', 'The liquidation factor percentage is a measure of collateralization at which liquidation occurs, not a direct measure of "risk." If the borrowed value plus the accrued interest is equal to or greater than 90% of the collateral''s value in relation to USD, the account becomes eligible for liquidation. The percentages are not necessarily reflective of the actual risk involved, but rather a threshold at which liquidation may take place.', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1112818572683645130');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('634ffdd3-33a0-4c32-8785-3fb67edca99c', 'compound-eth-1', '2023-05-06 00:00:00.000', '2023-05-06 00:00:00.000', 'How do I unwind my position on Compound if I have both supplied and borrowed in a 3:1 ratio, and how can I determine my minimum collateral ratio?', 'The ability to unwind your position depends on the collateral factor of the supplied asset. You can find information about collateral factors for different assets on the markets page https://app.compound.finance/markets?market=usdc-mainnet ', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1115169296012816404');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('feae9175-6316-4f4b-94ac-1cf7c21b931e', 'compound-eth-1', '2023-08-06 00:00:00.000', '2023-08-06 00:00:00.000', 'Is it possible on Compound v3 to deposit USDC on the Polygon network and then borrow USDC using the deposited USDC as collateral? If so, how?', 'No, it''s not possible to use deposited USDC as collateral for borrowing USDC in Compound v3 on the Polygon network. To borrow USDC, you typically need to deposit assets like WETH, WBTC, or MATIC as collateral.', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1116335103505866832');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('513407bf-5bdd-48ab-8b9d-7b7f3a877062', 'compound-eth-1', '2023-06-15 00:00:00.000', '2023-06-15 00:00:00.000', 'What''s the difference between Collateral Factor, Liquidation Factor, and Liquidation Penalty?', 'The Liquidation Factor and Liquidation Penalty are the same. The Collateral Factor, on the other hand, represents the limit for borrowing against a specific collateral asset. You can find more detailed information on these terms by referring to the documentation: https://docs.compound.finance/helper-functions/#get-asset-info-by-address ', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1118913801572601949');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('bca8d480-7767-4f45-a90e-4e1a724cd3dd', 'compound-eth-1', '2023-06-15 00:00:00.000', '2023-06-15 00:00:00.000', 'how the deposit rate and borrowing rate are calculated?', 'Interest rates in the v3 protocol are determined by parameters based on the current utilization of assets. You can find more details on this in the documentation: https://docs.compound.finance/helper-functions/#get-protocol-configuration ', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1118937025391902871');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('e017dd43-078d-4166-8eee-7e2022d49662', 'compound-eth-1', '2023-06-15 00:00:00.000', '2023-06-15 00:00:00.000', 'Is there a reserve factor in place?', 'Reserve accrual and details about reserves are explained in the documentation at this link: https://docs.compound.finance/liquidation/#reserves ', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1118937025391902871');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('30788d31-f493-453f-9347-d3f06e1c6d01', 'compound-eth-1', '2023-06-16 00:00:00.000', '2023-06-16 00:00:00.000', 'Is it possible to supply USDC and borrow USDC at the same time?', 'It is possible to supply and borrow USDC at the same time. However, in v3, you cannot use USDC as collateral to borrow.', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1119327324257665065');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('45c5ec16-e497-4abb-82b2-0660a9be8a64', 'compound-eth-1', '2023-06-16 00:00:00.000', '2023-06-16 00:00:00.000', 'Can I implement a folding strategy with the COMP incentives?', 'You cannot execute a folding strategy with USDC in v3.', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1119327324257665065');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('f1ccc5de-93aa-4afa-b689-443f7abb4471', 'compound-eth-1', '2023-06-19 00:00:00.000', '2023-06-19 00:00:00.000', 'Where can I find CompoundV2 parameters that were set, specifically the Optimal utilization level, kink, minRate, MaxRate, and multiplier?', 'You can find these V2 parameters by using Etherscan and the contract getters, which are linked in the documentation. Also, you can view current market data, including these parameters, on the markets page. Here are the cToken contract addresses with links to Etherscan, which you can use to access the information you need: https://docs.compound.finance/v2/. You can also utilize Etherscan''s read methods to find the interestRateModel contract address and access the relevant contract methods to retrieve this information.', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1120299285427257424');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('e1b4699a-d1dd-49c4-9183-8aeefd59da58', 'compound-eth-1', '2023-06-22 00:00:00.000', '2023-06-22 00:00:00.000', 'Can USDC be used as collateral to borrow in V3?', 'No, in V3, USDC is not considered as collateral for borrowing.', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1121238453204549662');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('6cc85b6a-232f-4ed4-8711-83ddbb4c5e84', 'compound-eth-1', '2023-06-23 00:00:00.000', '2023-06-23 00:00:00.000', 'Is it possible to lend USDC on the Polygon chain and borrow USDC on the Polygon blockchain?', 'No, in v3, you cannot use USDC as collateral to borrow USDC. Borrowing in v3 is typically done against different types of collateral. Additionally, if you''ve borrowed USDC from v3, you cannot supply that USDC to Compound from the same account.', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1121537912643797074');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('02afa6f6-9762-41a7-bd69-43e72d16bb32', 'compound-eth-1', '2023-06-28 00:00:00.000', '2023-06-28 00:00:00.000', 'Why does a borrow button not appear when processing USDC?', 'If you are trying to borrow USDC, you need to first withdraw your USDC supply. You can''t borrow if you are supplying USDC. Once you have withdrawn your USDC, a "Borrow" button will appear on the top right of the interface. Click on it, enter your borrow amount, and submit the transaction.', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1123329512831209524');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('5506d83e-72b9-437e-a89e-73cc19ff5d7d', 'compound-eth-1', '2023-06-29 00:00:00.000', '2023-06-29 00:00:00.000', 'What happens if I borrow USDC with ETH, swap that borrowed USDC with ETH on Uniswap, and add that new ETH as collateral to borrow more USDC? Can''t I just keep doing this until I accumulate a substantial amount of USDC?', 'Not really, with each cycle of this process, you can borrow less additional USDC. You''re converting the borrowed USDC into more ETH collateral at each step. The total borrowed amount won''t exceed the total value of collateral, so it''s not a free lunch.', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1123839695936290887');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('e588e0db-39ac-4900-8021-512da6672cdb', 'compound-eth-1', '2023-05-07 00:00:00.000', '2023-05-07 00:00:00.000', 'what does supplying USDC do for me?', 'Suppliers accrue interest on the base asset in Compound III. So for USDC deployments of v3, there is a variable Annual Percentage Rate (APR) for supplying USDC.', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1126007029383835709');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('305da75d-1969-49d5-8ee2-ffdba604d182', 'compound-eth-1', '2023-05-07 00:00:00.000', '2023-05-07 00:00:00.000', 'How often is the interest paid to the person?', 'It accrues every EVM block. It is not "paid," it is owed. cTokenv3 balance increases while holding it. It can be redeemed at any time for the amount of underlying owed.', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1126156742611435660');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('132d237c-594a-449e-b479-4c1b48f8ffbd', 'compound-eth-1', '2023-06-07 00:00:00.000', '2023-06-07 00:00:00.000', 'Where can I put up USDC and make interest?', 'You can supply USDC to the v3 protocol here: https://app.compound.finance/?market=usdc-mainnet ', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1126256237974134854');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('e75f7fcb-eed3-4c7d-b2ab-4f6fb8afcb35', 'compound-eth-1', '2023-06-07 00:00:00.000', '2023-06-07 00:00:00.000', 'Why does Compound v3 not support USDT borrowing?', 'The community has not chosen USDT as a base asset for Compound v3, which is why it is not supported.', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1126437214386139166');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('6d01d3d5-e674-4b53-8d50-8c8f2247920f', 'compound-eth-1', '2023-07-07 00:00:00.000', '2023-07-07 00:00:00.000', 'How''s the USDC supply Annual Percentage Rate (APR) higher than the borrow APR on Ethereum?', 'This is due to the current implementation of the interest rate curve in the USDC v3 market. There is a proposal to update, which you can check out here: https://www.comp.xyz/t/gauntlet-recommendations-ethereum-compound-v3-usdc-ir-curve-incentive-changes-7-6-23/4472 ', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1126715640305168395');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('2113fa05-588e-4704-b947-af5cac25ebf5', 'compound-eth-1', '2023-01-18 00:00:00.000', '2023-01-18 00:00:00.000', 'Do you know if there is any criteria that determines if a market has a comp reward? Why USDC in Ethereum has no comp reward, and do you know if this is fixed or can this change over time?', 'COMP distributions are decided by governance via on-chain proposals, so they can change over time. There are both supply and borrow rewards for USDC on Compound v3 (Ethereum). You can find more information here: https://app.compound.finance/markets?market=usdc-mainnet ', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1130633946464530504');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('f0b3399e-cb05-48a8-ad19-413e29ba1bdd', 'compound-eth-1', '2023-01-18 00:00:00.000', '2023-01-18 00:00:00.000', 'Is there a spot to see if I am accruing interest?', 'Yes, you can see the account balance using app.compound.finance.', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1132729131277226004');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('b6ad0832-ca3d-4bbb-9cff-fb02fcddedac', 'compound-eth-1', '2023-01-18 00:00:00.000', '2023-01-18 00:00:00.000', 'Is the purpose of putting in COMP on v3 to allow you to use it as collateral for swaps, etc.?', 'In v3, you cannot borrow and supply at the same time. The only reason to supply collateral to v3 is to borrow the base asset. Otherwise, the collateral will just sit there and do nothing.', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1132729131277226004');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('13019f1b-a11a-4c2b-8ca2-93ac25f9de9b', 'compound-eth-1', '2023-01-18 00:00:00.000', '2023-01-18 00:00:00.000', 'How to supply and borrow?', 'First, supply a valid collateral, then you can borrow USDC.', 2, 'https://discord.com/channels/402910780124561410/402910780670083094/1135501434109046804');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('1bd5f08d-6b4b-4e14-82fa-afc652acd6e6', 'compound-eth-1', '2023-01-18 00:00:00.000', '2023-01-18 00:00:00.000', 'What''s going on with Compound, and what''s the risk with the Curve hack?', 'There are no direct risks identified. Compound does not use Vyper for its contracts and has no integrations with Curve pools and other potentially affected protocols. The exploit seems to be related to a vulnerability in the Vyper programming language. Contracts written in Vyper may have this vulnerability. However, all of the Compound v2 and v3 smart contract code is written in Solidity, where this specific vulnerability does not exist.', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1135629870710399167');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('26248d5e-d1a2-4d1e-a5f1-96c68a31686d', 'compound-eth-1', '2023-01-08 00:00:00.000', '2023-01-08 00:00:00.000', 'Why are interest rates so high on some markets?', 'Interest rates can be high on certain markets because when more people borrow assets, it increases the utilization of those assets. If there aren''t enough new deposits of USDC or other assets to balance the increased borrowing demand, the rates can go up. It''s all about supply and demand in the market.', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1135842459360968834');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('561a81f0-6aec-4e0e-8287-9a7a43e7e49d', 'compound-eth-1', '2023-02-08 00:00:00.000', '2023-02-08 00:00:00.000', 'If I have supplied USDC on Polygon via Exodus, how and when do I get my returns, and where?', 'Your balance is increasing continuously, a few times per minute. Technically, you receive your portion of interest every time a new block is produced on the Polygon network, which happens approximately every 2 seconds.', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1136207670207074345');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('19bf6a42-022d-4cfd-a215-be1d688ef017', 'compound-eth-1', '2023-02-08 00:00:00.000', '2023-02-08 00:00:00.000', 'For Compound v2 and v3, are liquidations account-based (like Aave) or based on the pool position? E.g., if I have ETH and USDC positions, and I''m liquidated in my USDC position, am I only liquidated in that USDC pool?', 'It''s collateral-based in v2 and account-based in v3. In v2, you can get partially liquidated, which means any of your "entered" collateral assets can get liquidated by their choice until your account reaches the collateralization rules. In v3, the whole account is taken, and all of the collateral assets can be sold off at a discount.', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1136357094279352340');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('ffffb749-5286-4fd9-ab8f-177363859c47', 'compound-eth-1', '2023-03-08 00:00:00.000', '2023-03-08 00:00:00.000', 'do you get the rewards distribution right away from the deposit and borrow?', 'The distributions are accrued in your account every block, so you start earning right away. However, to access the rewards and have them in your wallet, you will need to perform the ''claim'' action.', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1136462674578898954');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('cbc37532-b0d4-4c8a-ac57-63786e2491ee', 'compound-eth-1', '2023-05-08 00:00:00.000', '2023-05-08 00:00:00.000', 'What happens if there is a sudden withdrawal of a large amount of a base asset from a market?', 'There is no automatic swapping of collateral to the base asset, but you can''t withdraw more of the base asset than is available in the market. Liquidation due to interest accumulation is possible, but even at 100% utilization, the maximum interest rate for various markets suggests that there likely won''t be many liquidations in the short term. However, if you''ve supplied a base asset that''s fully borrowed (100% utilization), you''ll have to wait until someone repays their borrow for you to be able to withdraw your assets.', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1137320210840440862');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('da5f8d8c-9b18-454e-a876-900f260cbe95', 'compound-eth-1', '2023-08-08 00:00:00.000', '2023-08-08 00:00:00.000', 'What is the formula for calculating withdrawable amounts in the protocol?', 'The correct formula is withdrawableAmount = totalSupply() - totalBorrow() + getReserves(). A straightforward method to assess the total amount available for withdrawal is by examining the overall balance of the base asset within the Comet system. To calculate the reserves, you can use this formula: total reserves = total balance - total supply + total borrows.', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1138240801957220373');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('c136db6f-0f23-45f4-b643-d48a970eab56', 'compound-eth-1', '2023-08-13 00:00:00.000', '2023-08-13 00:00:00.000', 'Where can I see/find USDC rewards?', 'USDC suppliers indeed accrue USDC interest, and you don''t need to claim it separately through a reward button. The USDC interest is automatically added to your account balance. With cUSDCv3, which is a 1:1 representation of USDC, when you withdraw, you receive your principal along with the accrued interest. This interest accrues continuously, every block, and it''s automatically reflected in your wallet. So, there''s no need for a separate button to claim USDC rewards; it''s seamlessly integrated into your account balance.', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1140352196773412914');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('4f39c3f6-9486-4184-9625-65a50f8dc4cb', 'compound-eth-1', '2023-08-13 00:00:00.000', '2023-08-13 00:00:00.000', 'Is borrow distribution the percentage that protocol pays for taking a loan or what I have to pay in interest?', 'The "borrow distribution" is not the interest users pay for taking a loan; it represents what users earn for borrowing in that specific market. When users borrow USDbC in BASE, they pay 2.81% in interest to the protocol but also earn 14.35% in COMP distribution. This results in an overall net earning rate of 11.54% for borrowing in that market. So, it''s the percentage of earnings users receive from the COMP distribution when participating on the borrow side of the market.', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1140830862770970746');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('fda546b3-ee19-4198-9442-ea51d99e5744', 'compound-eth-1', '2023-08-23 00:00:00.000', '2023-08-23 00:00:00.000', 'Why am i unable to borrow USDC despite supplying Eth on base?', 'It''s essential to check which market you supplied your ETH to on Base. There are two markets: WETH Comet and USDC Comet. If you supplied your ETH to the WETH Comet market, you won''t be able to borrow USDC. You can only borrow USDC if you supplied a collateral, such as WETH, to the USDC Comet market. Double-check the market you''ve supplied your ETH to and make sure it aligns with your borrowing intentions.', 2, 'https://discord.com/channels/402910780124561410/402910780670083094/1143919774275997716');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('ff63dc1d-a111-450a-baa9-47b012379ff2', 'compound-eth-1', '2023-06-09 00:00:00.000', '2023-06-09 00:00:00.000', 'How can I determine whether there is a reward for borrowing in the Ethereum USDC market?', 'To check if there is a reward for borrowing in the Ethereum USDC market, you can visit app.compound.finance. From there, select the specific chain and market where you have borrowed USDC. This platform will display the reward information for borrowing in the Ethereum USDC market.', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1148892097844367430');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('aefb742e-9813-4bdd-b298-cd6959d2c6d7', 'compound-eth-1', '2023-09-13 00:00:00.000', '2023-09-13 00:00:00.000', 'How can I borrow ETH using my supplied USDbC?', 'In v3, you need separate accounts to be a supplier or borrower. If you''ve already supplied USDbC and now want to borrow ETH, you''ll need to create a separate borrower account.', 2, 'https://discord.com/channels/402910780124561410/402910780670083094/1151514955795943504');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('d30b010c-7db1-49ad-a5b2-9ef0d50a4b1b', 'compound-eth-1', '2023-09-18 00:00:00.000', '2023-09-18 00:00:00.000', 'Is it only possible to borrow ETH with cbETH and wstETH on Compound v3, or can I also borrow USDC?', 'You can borrow USDC on a different Compound III deployment. Currently, there are two base asset deployments: WETH and USDC. This means you can borrow both WETH and USDC on Compound III, just not ETH.', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1153377769108025455');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('472adb6f-6e0c-41ad-ac69-1b14a2490458', 'compound-eth-1', '2023-09-28 00:00:00.000', '2023-09-28 00:00:00.000', 'How can I borrow assets when there are only ''supply'' and ''withdraw'' options?', 'To borrow on this platform, you should utilize the ''withdraw'' option. This is used to borrow, but it assumes you have already supplied collateral and are withdrawing more base tokens than you initially supplied.', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1156750947729547265');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('80e5a541-98ff-414f-915f-ab30072c62fd', 'compound-eth-1', '2023-09-29 00:00:00.000', '2023-09-29 00:00:00.000', 'What is the protocol''s profit fee for borrowing ETH on Compound V2, separate from the interest charged to borrowers?', 'Compound V2 does not charge a separate fee for borrowing ETH; instead, the protocol generates profit through the spread between borrower and supplier interest rates, and this profit accrues via borrower repayments.', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1157391081013518439');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('d0a78948-ddab-4e8a-b6b3-28567562d37a', 'compound-eth-1', '2023-06-10 00:00:00.000', '2023-06-10 00:00:00.000', 'Why does it show "Amount Exceeds Supply Cap" when I attempt to deposit wbtc?', 'The error message "Amount Exceeds Supply Cap" indicates that the wbtc market has reached its maximum capacity, and you are unable to deposit any more collateral in that specific market.', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1159764276765016154');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('c266191c-a31b-4b41-be2a-1d6d6c335803', 'compound-eth-1', '2023-10-13 00:00:00.000', '2023-10-13 00:00:00.000', 'How frequently can you withdraw your earnings from Compound II Markets?', 'You can withdraw your earnings from Compound II Markets approximately every 12 seconds, which aligns with the frequency of an Ethereum block being processed.', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1162138922873266296');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('cfde7721-a445-4b71-acb0-659252c13e65', 'compound-eth-1', '2023-10-17 00:00:00.000', '2023-10-17 00:00:00.000', 'Why does Compound (v2) require users to either put all of their asset or none of it as collateral, rather than allowing them to choose the amount of tokens they want to supply as collateral and keep a part free?', 'The primary advantage of this approach is that it simplifies the code. It also allows users to create multiple addresses and positions with precise sizes, which can be advantageous for managing their assets. However, it''s not solely for code simplicity; it can also help prevent potential gas issues and address security and design concerns that could arise if partial collateralization were allowed.', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1163753318582067240');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('8349e721-0369-4c8f-a4ab-2f2a5eae8d85', 'compound-eth-1', '2023-10-18 00:00:00.000', '2023-10-18 00:00:00.000', 'Are baseBorrowMin and baseMinForRewards each represented with 6 decimal places? If so, does this mean you need to borrow 1,000,000 on the mainnet to meet the minimum rewards base?', 'No, these values are not represented with 6 decimal places. They are integer representations of the base asset. For example, in a cUSDCv3 deployment, 1000000 represents one USDC because USDC has 6 decimal places. So, baseBorrowMin represents 100 USDC, and baseMinForRewards represents 1,000,000 USDC that must be supplied to the market before rewards start accruing for participants in that market.', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1164264690961109144');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('78bd5367-5a2b-478e-873c-4ca54d2d0e5c', 'compound-eth-1', '2023-05-10 00:00:00.000', '2023-05-10 00:00:00.000', 'When I try to deposit WBTC in my wallet and press the plus button, why do I get the message ''Amount Exceeds Supply Cap'' and ''You need to approve Compound on the WBTC contract''?', 'Before using the asset, you have to grant permission to Compound on the WBTC contract. This approval is required only once.', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1159406469997940838');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('2686f01c-acde-4eff-9ed1-4bca2964b721', 'compound-eth-1', '2023-06-10 00:00:00.000', '2023-06-10 00:00:00.000', 'I used to see a net APR of 2-3-4 percent. What does the -0.86% borrowing APR represent?', 'For that borrowing APR, it suggests that you''re effectively being paid to borrow due to the $COMP rewards. While you''ll have to return the borrowed amount, the $COMP rewards you receive will surpass the interest you owe.', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1159764641338101812');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('90ef571e-02ab-419e-bd40-d68291d53b8a', 'compound-eth-1', '2023-06-10 00:00:00.000', '2023-06-10 00:00:00.000', 'Where can I find the details of my $COMP rewards?', 'You can view your $COMP rewards on the left side of your wallet address interface.', 1, 'https://discord.com/channels/402910780124561410/402910780670083094/1159834299521060945');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('7a017040-46e9-476e-87a4-03276a522e8d', 'compound-eth-1', '2023-08-05 00:00:00.000', '2023-08-05 00:00:00.000', 'What is the difference between a "withdraw" event and a "withdrawcollateral" event (assuming "withdraw" is borrowing and "supply" is repaying)?', 'The "withdraw" event can represent either borrowing the base asset or simply withdrawing it if the account has previously supplied it. On the other hand, the "withdrawcollateral" event is specifically for actions related to collateral assets, typically indicating the process of taking back the collateral after repaying a loan. To distinguish between a borrowing event and a return of the borrowed amount, you can look for an accompanying transfer to the address 0x0, which signifies a withdrawal of the supplied base asset.', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1105183373040832654');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('837e4b93-c514-4009-b6c6-661cc75a65cc', 'compound-eth-1', '2023-09-05 00:00:00.000', '2023-09-05 00:00:00.000', 'Can you provide a list of all the possible token contracts for Comet in Compound V3?', 'Certainly, you can find a list of all the possible token contracts for Comet in Compound V3 by referring to the documentation provided at https://docs.compound.finance/#networks ', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1105376390859194428');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('14e45d79-9b99-4489-bad9-8fac58e393e6', 'compound-eth-1', '2023-10-05 00:00:00.000', '2023-10-05 00:00:00.000', 'Is there a liquidation threshold in Compound (v2), and can you explain how to calculate the liquidation price?', 'In Compound (v2), the liquidation price can vary due to changing asset prices and borrower interest accrual. To calculate the liquidation price in v2, you can use a formula that involves the supply amount, prices, collateral factor, and borrow amount. The specific formula can vary, but Compound v2 uses a collateral factor, which is a decimal representing the percentage of the asset''s value you can borrow against your collateral. For example, a collateral factor of 0.825 means you can borrow up to 82.5% of your Ether''s USD value as another asset. Keep in mind that you shouldn''t borrow the maximum amount, as it could lead to liquidation in the next block.', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1105882440058286161');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('5c79a63a-7296-41f6-be60-c9a26efabe48', 'compound-eth-1', '2023-11-05 00:00:00.000', '2023-11-05 00:00:00.000', 'What''s the method to obtain on-chain borrow liquidity?', 'To acquire on-chain borrow liquidity, I recommend searching for examples and resources in the following GitHub repository: https://github.com/compound-developers/compound-borrow-examples. If you''re looking to access the on-chain borrow liquidity for the entire protocol, you can use the formula: getCash() - totalReserves(). You can find more details and documentation on this in the Compound Finance documentation at https://docs.compound.finance/v2/ctokens/. ', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1106181485322567700');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('b2a9cd10-7f7c-4b57-a21f-d03beb848f21', 'compound-eth-1', '2023-11-05 00:00:00.000', '2023-11-05 00:00:00.000', 'I''ve noticed that in Compound V3, the cumulative repayment amount is significantly higher than the borrowing amount. Can you provide an explanation for this difference?', 'The difference you''re observing might be due to the way you''re counting repayments. If you''re including both supply and borrow transactions in your calculations, that could lead to an incorrect total. When someone supplies a base asset, the same event is emitted, so individuals who are only supplying and not repaying a borrow are also counted. The same logic might apply to withdrawals, where individuals simply withdraw their previously supplied base asset. To accurately track repayments, ensure you''re considering only the transactions specifically related to borrowing and repaying.', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1106191663715602582');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('cd891c5f-2c26-4e55-86b0-0568eef0e284', 'compound-eth-1', '2023-12-05 00:00:00.000', '2023-12-05 00:00:00.000', 'How can I obtain the price of an underlying asset in ETH (not USD) for a cToken in Compound V2, given that the API''s "underlying_price" is no longer available?', 'To get the price of an underlying asset in ETH, you can use the price method in the Uniswap Anchored View contract. You can find the contract''s address listed here: https://docs.compound.finance/v2/prices/. After obtaining the USD price of the asset, you can divide that number by 10^6 to get the ETH price with 6 decimals of precision. The Compound protocol internally uses USD prices for various calculations, including liquidation thresholds and collateral factors. This approach may involve calculating the ETH price based on USD values, as there isn''t a direct ETH price available.', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1106309256485023817');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('53563a85-82ac-4ff3-9a8c-ec06edb7768c', 'compound-eth-1', '2023-12-05 00:00:00.000', '2023-12-05 00:00:00.000', 'How does the Compound protocol determine which price contract to use for cTokens, and how can I access these price feed contracts?', 'The protocol retrieves its prices from the Uniswap Anchored View (UAV), which you can access through the Comptroller''s oracle() method. To fetch prices, you can pass the token''s symbol string to the price method of the UAV or use the cToken address with the getUnderlyingPrice method. When using getUnderlyingPrice, remember to divide the result by Math.pow(10, (36 - underlyingdecimals)). Compound.js provides a price method for this purpose, and you should ensure you have the latest version of Compound.js, as the UAV address may change over time. Using a cToken address or the underlying symbol are both valid methods to access price information, with the latter being more direct but potentially requiring updates if the UAV address changes in the future.', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1106310581486620814');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('b9fe2607-995d-4ae2-9b26-640e25f0f0bc', 'compound-eth-1', '2023-12-05 00:00:00.000', '2023-12-05 00:00:00.000', 'How can I reliably obtain the underlying symbol of a cToken, especially when calling symbol() on the underlying ERC-20 contract doesn''t work in some cases?', 'To retrieve the underlying symbol of a cToken, you may encounter issues when using symbol() on the underlying ERC-20 contract, particularly for tokens like SAI. SAI is deprecated and returns the symbol "DAI." In such cases, a workaround is to get the cToken''s symbol and remove the "c" prefix, but this method might not be entirely foolproof. Additionally, the previous API included an "underlying_name," which was based on a hard-coded map between contract addresses and strings, making it more reliable. For a list of cTokens, you can refer to this link: https://docs.compound.finance/v2/#networks ', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1106316168798687232');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('ff65ba15-7ca7-4c35-8230-5bf73910c2c4', 'compound-eth-1', '2023-12-05 00:00:00.000', '2023-12-05 00:00:00.000', 'I''m having trouble replicating the borrow rate I get from the API for cAAVE. The API provides a specific rate, but my calculated rate is close but not the same. What could be the issue here?', 'The issue might be related to your calculation of the number of blocks per year, which varies depending on the Ethereum network''s block time. For Ethereum mainnet, the block time is approximately 12 seconds since the London hard fork. After correcting this value, your calculated rate came closer to what the API reports. Additionally, the API might be displaying stale data, so discrepancies with the current market data are possible. For more details on calculations and information, you can refer to the documentation page: https://docs.compound.finance/v2/#protocol-math. ', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1106324367568294019');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('84ef6a23-0742-4b41-968d-0bc913c10467', 'compound-eth-1', '2023-05-18 00:00:00.000', '2023-05-18 00:00:00.000', 'Is the value of cWETHv3 always guaranteed to be equal to the value of WETH?', 'No, the value of cWETHv3 is not always guaranteed to be equal to the value of WETH. Instead, cWETHv3 represents the amount of underlying WETH owed to an account within the protocol. In hypothetical DEX trading scenarios, arbitrage opportunities may emerge due to the nature of swaps.', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1108662826869981206');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('60330bad-c2ff-4ab4-b39a-acf16ce26ed1', 'compound-eth-1', '2023-05-18 00:00:00.000', '2023-05-18 00:00:00.000', 'Is there documentation or a formula for calculating the value of cWETHv3? Does this also apply to cUSDCv3, which I heard is equivalent to USDC in value?', 'The value of cWETHv3 and cUSDCv3 isn''t determined by a specific calculation, as these tokens serve as an accounting of the owed underlying assets within the Compound protocol. In the case of v3, these tokens are generally in a 1:1 ratio with their respective underlying assets. So, if you hold 3 cUSDCv3 tokens, you are owed 3 USDC from the protocol, which would be approximately $3 if the USDC''s value is close to $1.', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1108806438966526022');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('d120be40-0af3-4579-80f3-5e679fb99c7a', 'compound-eth-1', '2023-05-21 00:00:00.000', '2023-05-21 00:00:00.000', 'Does the process of supplying Matic on the Polygon network programmatically in v3 work the same way as it does on the Ethereum network in v2?', 'Yes, the process of supplying assets in v3 on the Polygon network is similar to how it worked in v2 on the Ethereum network. You can find code examples and detailed guidance in the FAQ repository and developer resources at https://docs.compound.finance/. In v3, it''s important to note that only the base asset you supply will earn interest, and your account should have a cToken if you have successfully supplied the base asset.', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1109636430029922314');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('02fff762-a7f5-4063-9a96-871b77012d23', 'compound-eth-1', '2023-05-29 00:00:00.000', '2023-05-29 00:00:00.000', 'How can I add a new collateral type to Comet/Compound V3, similar to the "yarn token:deploy" command in V2?', 'In V3, you need to create a migration to add a new collateral type. You can find a guide with an example of adding ZRX as collateral in V3 at this link: https://www.comp.xyz/t/compound-iii-scenarios-migrations-and-workflows/3771. ', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1112544685198692413');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('ef408e06-c5f6-481b-96c2-6b2be5359c3a', 'compound-eth-1', '2023-05-29 00:00:00.000', '2023-05-29 00:00:00.000', 'If I have supplied 1 WETH, how can I determine the amount of cbETH I can borrow?', 'You cannot borrow cbETH; it is strictly used as collateral. In Compound III, only assets designated as the base assets, such as USDC and WETH, can be borrowed or earn interest when supplied. To borrow WETH, you need to supply either cbETH or wstETH. The maximum amount of WETH that can be borrowed at any given time is determined by the balance of the contract (WETH.balanceOf(comet)) minus the protocol reserves (Comet.getReserves()). Additionally, you should consider the minimum borrow position size, which is determined by Comet.baseBorrowMin(). The maximum amount an account can borrow is influenced by the collateral factors of the assets they have supplied and the total collateral value. Detailed information can be found in the documentation at https://docs.compound.finance/collateral-and-borrowing/#collateral--borrowing. ', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1112703727950909470');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('fd302ac8-61a1-49b2-8deb-53f5ae88c68a', 'compound-eth-1', '2023-05-31 00:00:00.000', '2023-05-31 00:00:00.000', 'What''s the process for converting ETH or WETH into cbETH on the Goerli testnet?', 'To exchange ETH or WETH for cbETH on the Goerli testnet, you can utilize the deposit() and withdraw() functions of the WETH contract. Additionally, there should be a faucet containing cbETH, which is essentially a dummy ERC20 token. You can find the Faucet address in the documentation under the "goerli usdc" tab at https://docs.compound.finance/#networks. ', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1113358910565384212');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('c9722bae-9278-4322-b17c-7ec4bd674240', 'compound-eth-1', '2023-12-06 00:00:00.000', '2023-12-06 00:00:00.000', 'I''ve already lent USDC on the Polygon Chain and want to add more to Compound, but I prefer to do it in separate pools rather than in the same pool. Is that possible?', 'Compound III operates with one asset per deployment for accruing supplier interest. Currently, on Polygon, there''s only the USDC pool available. If you want to accrue supplier interest on Dai and USDT, you should use Compound v2, which is accessible on the Ethereum chain at https://app.compound.finance/markets?market=v2 ', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1117861648670142474');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('f1601138-6bf2-432e-8485-f2f3e7b4693a', 'compound-eth-1', '2023-08-06 00:00:00.000', '2023-08-06 00:00:00.000', 'I''m exploring the Wrapper contract for my project and want to clarify the difference between "redeem" and "withdraw." My project involves sending USDC to Comet and receiving cUSDC, using the "deposit" function to wrap the tokens. Could you provide insights on this?', 'Certainly, in the context of the Wrapper contract, "redeem()" is utilized when you specify the quantity of Wrapped cUSDC as an argument, whereas "withdraw()" is employed when you specify the amount of cUSDC as an argument. These functions serve different purposes and correspond to your use case.', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1116432965661118555');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('4fde7484-e06d-4e37-b7e7-3ebabb34155d', 'compound-eth-1', '2023-06-13 00:00:00.000', '2023-06-13 00:00:00.000', 'Could you provide definitions for the terms ''totalSupply,'' ''totalBorrows,'' ''totalReserves,'' and ''marketLiquidity''? I''m particularly interested in understanding the difference between Supply, Reserves, and Market Liquidity.', 'In the context of Compound Finance (specifically V2), here are the definitions for the terms you mentioned: \n Total Supply: This represents the number of tokens currently in circulation in a particular cToken market, such as the global number of cUSDC tokens in existence. \n Total Borrows: It signifies the amount of underlying assets currently loaned out in the market. Interest accrues on this amount and is distributed to the suppliers of the market. \n Total Reserves: Reserves are an accounting entry in each cToken contract. They represent a portion of historical interest set aside as cash, which can be withdrawn or transferred through protocol governance. \n Market Liquidity: Market liquidity refers to the number of underlying tokens held by the cToken market. This represents the maximum number of tokens that borrowers can borrow and suppliers can redeem using their cTokens. \n Total Supply APY: This is the Annual Percentage Yield (APY) earned for supplying assets to a specific cToken market. \n Total Borrows APY: It represents the APY charged for borrowing from a particular cToken market. \n Exchange Rate: Each cToken is convertible into an ever-increasing quantity of the underlying token, as interest accrues in the market. \n The key distinction between Total Supply and Market Liquidity is that Total Supply is in terms of cTokens (e.g., the global number of cUSDC tokens in existence), while Market Liquidity is in terms of the amount of underlying tokens held by the cToken (the number of USDC held in the cUSDC contract).', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1118214975308177479');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('b05f3b0b-f5de-470a-aeaa-1a7334114456', 'compound-eth-1', '2023-06-15 00:00:00.000', '2023-06-15 00:00:00.000', 'While developing a yield aggregator app, I''m unsure which smart contract to use for depositing and withdrawing WETH. Should I be using a specific contract like Comet for this purpose as cWETH is giving transaction issues?', 'To earn interest on WETH, you should interact with the cWETHv3 contract. If you plan to use WETH as collateral to borrow USDC, you should use the cUSDCv3 contract. The Compound documentation at https://docs.compound.finance/ provides detailed information to help you get started with the specific contracts and their functions. If you encounter any issues, feel free to ask for further assistance.', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1118938767064039559');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('475a277e-e44c-4a41-9585-749c96334585', 'compound-eth-1', '2023-06-20 00:00:00.000', '2023-06-20 00:00:00.000', 'Is it possible to retrieve the amount of COMP rewards owed to an account without using the write function in the Rewards Contract?', 'Yes, it''s possible. You can find JS and Solidity examples on how to determine the amount of COMP rewards currently accrued for your account in the Compound documentation''s resources section, linked here: https://github.com/compound-developers/compound-3-developer-faq However, if you want to avoid gas fees, especially when creating an API to retrieve user balances on Compound, it''s best to use the eth_call method off-chain. This allows you to calculate it without incurring gas costs, as some of the parameters require periodic updates and are typically part of write functions in smart contracts.', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1120695626225696858');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('ed7f44ef-16cc-4ce6-8cf0-dbf3814ae435', 'compound-eth-1', '2023-06-23 00:00:00.000', '2023-06-23 00:00:00.000', 'How can I obtain a Compound API Key?', 'On April 15, 2023, the Compound v2 REST API (api.compound.finance) was permanently closed. Data formerly accessible through this API is now publicly available as read-only data on the Ethereum blockchain. To access this data source, users can utilize node providers like alchemy.com or infura.io, both of which offer free tiers for minimal API usage. While the Compound v2 protocol remains active on Ethereum, users are encouraged to explore migration options to Compound v3. However, no immediate action is required due to the API shutdown. Additionally, the v2 Dapp at v2-app.compound.finance no longer relies on the API, and it remains open source, community-maintained, and accessible after the API closure.', 4, 'https://discord.com/channels/402910780124561410/402912055448961034/1121521051558477956');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('8ce078e8-7816-457b-a133-1939ef07c765', 'compound-eth-1', '2023-06-26 00:00:00.000', '2023-06-26 00:00:00.000', 'How can I retrieve the number of COMP rewards a user can claim in CompoundV2?', 'To determine the number of COMP rewards a user can retrieve in CompoundV2, you can use the lens contract off-chain. A useful script for this purpose is available at https://gist.github.com/ajb413/f1cf80c988ed679092cff4e4b01e3d94. Additionally, it''s important to note that for Compound CERC-20 contracts, each cERC-20 token has 8 decimals, while their underlying tokens may have varying decimals. To obtain the correct number of decimals for the underlying token, you can retrieve the underlying token''s address from the contract and use its decimals function.', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1122857159873548289');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('4d760d05-5725-4626-9f5a-e42fc8ce60e8', 'compound-eth-1', '2023-06-29 00:00:00.000', '2023-06-29 00:00:00.000', 'Can Compound V3 contracts be forked, or are they subject to licensing restrictions?', 'The Compound V3 contracts are indeed subject to licensing restrictions. The repository has a BSL (Business Source License) license, which implies certain limitations and conditions on forking and using the code. https://github.com/compound-finance/comet/blob/main/LICENSE ', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1123927112164851792');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('4efdb180-f999-487b-89e8-05e200883114', 'compound-eth-1', '2023-01-07 00:00:00.000', '2023-01-07 00:00:00.000', 'How can one calculate the total interest accrued for a specific account now that the Compound V2 API is no longer available?', 'In the absence of the Compound V2 API, you can calculate the total interest accrued for a specific account by using a history node. However, please note that there is no graphical user interface (GUI) available to present the interest value when looking back in time, so you will need to perform the calculations yourself. Additionally, interest accrual in V2 is based on an increasing exchange rate from cToken (received when supplying) to the underlying asset, meaning that your cTokens become slightly more valuable over time. To assist with this, there is a subgraph available at https://thegraph.com/hosted-service/subgraph/papercliplabs/compound-info, which contains information similar to what the V2 API provided. You can query this subgraph to help answer your question, with a focus on the User and UserMarket (position) entities in the schema.', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1124467335030390904');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('7e1355c6-b2ae-4fdf-87da-619054b747eb', 'compound-eth-1', '2023-09-07 00:00:00.000', '2023-09-07 00:00:00.000', 'Is there a way to directly access the baseSupplyIndex from the contract, ideally making it queryable in Dune to track the cUSDCv3 holdings of an individual in Dune (with infrequent updates)?', 'While there isn''t a specific guide for this, you can build the functionality to access the baseSupplyIndex using the smart contract documentation. You can also find answers to your questions in the Compound documentation at https://docs.compound.finance/v2/. Additionally, the baseSupplyIndex can be found by reading a contract on Etherscan. It''s worth noting that this function may not be called very frequently, so you might need to look at past transactions to access the data. Concerning your question about calculating supply and borrow Annual Percentage Rates (APRs), if you knew the total supply and total borrows at various points in time, you could indeed compute these rates accordingly. As for the borrow IRSlopeHigh, it''s correct that it''s 0, meaning that at utilization levels between 90% and 100%, the borrow rate remains flat.', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1127420253048164423');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('baf55894-dc9f-45c1-bc27-2f1b8626e4a8', 'compound-eth-1', '2023-12-07 00:00:00.000', '2023-12-07 00:00:00.000', 'Is there any connection or relationship between Compound and GMX exchange?', 'As far as I''m aware, there is no direct relationship between Compound and GMX exchange. Compound is a decentralized finance (DeFi) protocol that serves as infrastructure for DeFi applications, and its use doesn''t necessitate any specific relationship with external entities. To the best of my knowledge, GMX does not utilize Compound III for its operations.', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1128727046110068960');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('60054a2c-782c-471e-bf0a-58aac2133882', 'compound-eth-1', '2023-07-13 00:00:00.000', '2023-07-13 00:00:00.000', 'how to calculate the borrowing Annual Percentage Rate (APR) for the USDT token using the borrowRatePerBlock function from the cUSDT token contract?', 'You can find an example at the bottom of this page: https://docs.compound.finance/v2/#protocol-math It provides the necessary information to calculate the borrowing APR for USDT using the borrowRatePerBlock function from the cUSDT token contract.', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1129112202088034497');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('951e489b-4408-4664-8312-ff9cbecdfc4f', 'compound-eth-1', '2023-07-19 00:00:00.000', '2023-07-19 00:00:00.000', 'As I integrate Compound rewards and prepare for testing, I''m uncertain about mocking the reward behavior for testing purposes. Can you guide me on how to effectively simulate reward behavior in testing?', 'To test the reward behavior, you can perform several methods. One approach is to use the scenarios available for testing. However, if you prefer another way, you can provide me with your Goerli address, and I will delegate enough COMP tokens to it, allowing you to test the proposal. Additionally, you can set up a mainnet fork, interact with a supported COMP distribution-enabled market by supplying or borrowing assets, fast forward the block height, and then test the due check and claim COMP functions. You can identify the markets with COMP distribution enabled by checking for a distribution APR greater than 0 on https://app.compound.finance/markets/', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1131212026279116920');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('5305ddc4-ada7-4810-94de-f1b737e37ef8', 'compound-eth-1', '2023-07-21 00:00:00.000', '2023-07-21 00:00:00.000', 'What does the numerical value, like 420537228421751778, in the "totalBorrows" field of the Repay Borrow event signify for the user in a transaction like the one shared on the blockchain?', 'The "totalBorrows" field in the Repay Borrow event appears to represent the user''s remaining open borrow balance as an integer. To make it more readable, you can divide it by 1e18 since AAVE tokens have 18 decimal places. This division would give you a number like 0.42. The discrepancy between the "totalBorrows" field and the actual borrow balance you see when querying the cAAVE contract directly might be due to the interest accrued on the original borrowed amount. Importantly, this field may represent all amounts borrowed by a user across various pools, potentially denoted in Ether (ETH).', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1132013911244279968');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('73d74e30-3a51-4a24-bf6d-f936cca9a73f', 'compound-eth-1', '2023-07-22 00:00:00.000', '2023-07-22 00:00:00.000', 'Which contract is responsible for monitoring Comet reserves?', 'The contract that tracks Comet reserves is accessed using the function "comet.getReserves()." You can locate more details about this in the documentation under the "Liquidation" section: https://docs.compound.finance/liquidation/#reserves.', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1132084241849667635');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('6da96b07-d992-4e53-be35-2bf97b7de6ee', 'compound-eth-1', '2023-07-25 00:00:00.000', '2023-07-25 00:00:00.000', 'What are the recommended resources for integrators who want to transition from Compound v2 to Compound v3?', 'For a smooth transition from Compound v2 to Compound v3, I recommend referring to the official Compound Finance blog post titled "Compound III is Live" at https://medium.com/compound-finance/compound-iii-is-live-a7983dee7e60 . Additionally, you can find valuable information on the documentation website at https://docs.compound.finance/ . If you have any questions or need further assistance, don''t hesitate to ask here.', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1133133766651551895');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('52c52f78-c762-4565-9127-7ff0db01c529', 'compound-eth-1', '2023-07-27 00:00:00.000', '2023-07-27 00:00:00.000', 'In Compound v3, does your IOU balance increase over time?', 'Yes, in Compound v3, your IOU balance can increase over time.', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1134032310602309692');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('38212c3a-4ee5-4980-a08a-e802e33e4feb', 'compound-eth-1', '2023-02-08 00:00:00.000', '2023-02-08 00:00:00.000', 'Does the UserBasic struct in CometStorage''s smart contract provide information about the current user principal and the interest earned from compounding?', 'Yes, the UserBasic struct in CometStorage''s smart contract contains information about the user''s current principal and the interest earned from compounding. The ''principal'' field represents the current principal of the user, while the ''baseTrackingAccrued'' field indicates the interest earned on that principal. However, it''s worth noting that the principal may not be accurate if the user supplies and then supplies again subsequently, and for precise calculations, it''s recommended to use the history of events for the account. To determine the interest earned on the existing principal supplied, you can calculate it off-chain by summing the principal from the supply events and subtracting it from the balanceOf at a specific block.', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1136248098490961942');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('f6f34c54-3a48-4ffe-84ad-df2ee0e47592', 'compound-eth-1', '2023-07-08 00:00:00.000', '2023-07-08 00:00:00.000', 'When trying to mint cCOMP, I encountered a "minting is paused" error. Can you provide information on the duration of this pause?', 'The minting of cCOMP is paused indefinitely. You can find more details about this pause in the following link: https://compound.finance/governance/proposals/170 ', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1138040138040090675');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('1ec38658-0ecb-42c0-b9b8-7a53c3e1435e', 'compound-eth-1', '2023-08-08 00:00:00.000', '2023-08-08 00:00:00.000', 'After a cross-chain Arbitrum proposal is successfully executed on the Ethereum mainnet, what steps are involved in pushing the proposal through on the Arbitrum side and queuing it into the Arbitrum timelock?', 'After a cross-chain Arbitrum proposal is executed on the Ethereum mainnet, it queues up a proposal on Arbitrum. This Arbitrum proposal is subject to an additional timelock delay, which is currently set to one additional day. After this delay has passed, anyone can call executeProposal on the Arbitrum proposal to have it executed. It''s important to note that the queueing of the proposal in the Arbitrum timelock is automatic on the execution of the mainnet portion, but the successful execution of the L2 proposal depends on factors such as gas prices and the proper estimation of gas values. If the auto-redeem process on L2 fails due to issues like gas price spikes or incorrect gas estimation, it may require a manual redemption of the message on L2. In summary, both the mainnet proposal and the Layer 2 (L2) proposal need to be executed to fully implement the change.', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1138229358201413692');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('a62f48a4-4851-4227-86b8-73d6d6ee5b65', 'compound-eth-1', '2023-08-08 00:00:00.000', '2023-08-08 00:00:00.000', 'How can I find the current cUSDC/USDC exchange rate from the contract?', 'To find the current cUSDC/USDC exchange rate, you can refer to the following sources: \n 1. For Compound Protocol v2, you can check the exchange rate by referring to the documentation provided at https://docs.compound.finance/v2/#protocol-math \n 2. For Compound Protocol v3, the exchange rate is 1:1, meaning that one cUSDC is equivalent to one USDC.', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1138476481954185317');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('e05b4ce4-45ef-44bd-b752-18f556148e42', 'compound-eth-1', '2023-05-09 00:00:00.000', '2023-05-09 00:00:00.000', 'Why did Comet opt for the ''transparent'' upgrade proxy pattern instead of UUPS (Universal Upgradable Proxy Standard)?', 'Comet chose to use the ''transparent'' upgrade proxy pattern instead of UUPS due to various factors. UUPS, which moves the upgrade logic to the implementation contract, introduced some issues faced by other protocols, as highlighted in this https://iosiro.com/blog/openzeppelin-uups-proxy-vulnerability-disclosure . Additionally, the UUPS pattern is relatively newer and less battle-tested compared to the ''transparent'' proxy pattern.', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1148485531781578894');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('b88dc8a1-705a-41cd-bdf5-650643719af1', 'compound-eth-1', '2023-10-08 00:00:00.000', '2023-10-08 00:00:00.000', 'If I supply a token other than USDC, how can I check my balance, especially when the balanceOf() function retrieves the USDC balance? I''m using the cUSDCv3 proxy.', 'When you supply a token other than USDC and want to check your balance, you should use the collateralBalanceOf function. This function allows you to retrieve the balance of the supplied token. You should call this function on the cUSDCv3 proxy, but it''s worth noting that the implementation of this function resides in the CometExt contract. For more detailed information, you can refer to the documentation at https://docs.compound.finance/collateral-and-borrowing/#collateral-balance . As for the availability of supplying and withdrawing listed tokens in V3, it seems that V3 is currently functional for USDC and WETH, which is why these tokens can be supplied and withdrawn.', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1139186746572148756');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('91c7a44e-be7e-4610-8852-2e7b297a8976', 'compound-eth-1', '2023-11-08 00:00:00.000', '2023-11-08 00:00:00.000', 'Does Compound V3 support a testnet?', 'Yes, Compound V3 does support a testnet. For further details and instructions, you can refer to the documentation at docs.compound.finance (addresses are in the docs)', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1139464586957967360');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('ce0cf8d3-b053-487f-b52f-a7da38499ace', 'compound-eth-1', '2023-11-08 00:00:00.000', '2023-11-08 00:00:00.000', 'Which repository should I search for Compound V2 files?', 'the repository at https://github.com/compound-finance/compound-protocol is the correct source for Compound V2 files. You can find the relevant files and documentation there.', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1139507342673707098');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('85761174-1844-42ab-a2f9-7228f1110904', 'compound-eth-1', '2023-11-08 00:00:00.000', '2023-11-08 00:00:00.000', 'Is it possible to deposit 1WBTC, 1ETH, and 1000USDC into Compound V3 and then borrow 5000USDC?', 'No, it is not possible to both deposit and borrow the base asset simultaneously on Compound V3.', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1139592932450635836');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('2c1b628b-c3ba-4547-8eae-95a3251257dc', 'compound-eth-1', '2023-08-14 00:00:00.000', '2023-08-14 00:00:00.000', 'I''m testing the $COMP claim on a Mainnet fork, and despite calling the function ''successfully,'' my $COMP balance remains at 0. How can I verify if rewards are enabled, and what might be causing this?', 'To confirm if rewards are enabled, you should check if the baseTrackingSupplySpeed is greater than 0. In your CometWrapper, rewards accrual can be enabled using the code provided at https://github.com/gjaldon/comet_wrapper/blob/main/test/Rewards.t.sol#L182-L191. Ensure that the baseTrackingSupplySpeed is set correctly to allow rewards to apply.', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1140371170475126928');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('2888769f-9aca-4375-b53e-448b753c9859', 'compound-eth-1', '2023-08-15 00:00:00.000', '2023-08-15 00:00:00.000', 'How can I obtain the value of baseTrackingSupplySpeed?', 'find the value of baseTrackingSupplySpeed, you can refer to the proposal that initially configured it. This information is available in the proposal at https://compound.finance/governance/proposals/171. Make sure to look for speeds related to the latest market in that proposal.', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1140882141580902402');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('449d728c-ba0a-4369-9768-513a927ea827', 'compound-eth-1', '2023-08-16 00:00:00.000', '2023-08-16 00:00:00.000', 'Is it possible that the Wrapper contract, responsible for managing cUSDC, is receiving rewards instead of my contract? My contract supplies cUSDC and promptly swaps it to the wrapper token.', 'Yes, it''s possible that the Wrapper contract is receiving the rewards because the CometWrapper contract manages cUSDC. The CometWrapper contract needs to be involved in the process of claiming rewards when using it. As per the documentation, the address holding the cToken accrues rewards over time. This information is now added to the docs for clarification, as you can see here: https://github.com/gjaldon/comet_wrapper#claiming-rewards ', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1141334635784188108');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('0f6e5795-2cb7-44c3-beff-93d7bfd67e3a', 'compound-eth-1', '2023-08-20 00:00:00.000', '2023-08-20 00:00:00.000', 'Is there a recommended approach for retrieving protocol-wide data such as borrow amount, utilization rate, and supply amount on-chain?', 'Yes, you can obtain protocol-wide data like total supply, total borrow, and utilization rate by using the following methods: totalSupply(), totalBorrow(), and getUtilization(). These methods are documented and detailed in the official Compound documentation, available at https://docs.compound.finance/. ', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1142780547660267550');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('23be61dd-40c0-49ee-9f96-89894a2ec2e0', 'compound-eth-1', '2023-08-24 00:00:00.000', '2023-08-24 00:00:00.000', 'Where can I locate the token contract for COMP on the Base network?', 'You can find the token contract for COMP on the Base network by visiting the Compound documentation and selecting the "Base USDbC" network. The relevant information can be found at https://docs.compound.finance/#networks , under the section that pertains to COMP.', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1143999630447755314');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('54a280de-20f1-488a-b178-5e921e7ad375', 'compound-eth-1', '2023-08-24 00:00:00.000', '2023-08-24 00:00:00.000', 'Can I determine the amount of COMP tokens that will be claimed before executing the ''claim'' function (0xb7034f7e)?', 'Yes, you can calculate the amount of COMP tokens that will be claimed before executing the ''claim'' function by referring to the documentation at https://docs.compound.finance/protocol-rewards/#get-reward-accrued . To execute the ''claim'' function, you should provide the following arguments: \n Comet: This refers to the cToken address, which is typically the first one listed for each Comet instance on the network. You can find these addresses in the documentation under the ''networks'' section. \n Src: This should be the account address. \n ShouldAccrue: Set this argument to ''true'' to claim the full amount of rewards.', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1144000061911605298');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('5f219f54-5ca5-4aa8-b4a5-ab4c677274a6', 'compound-eth-1', '2023-08-28 00:00:00.000', '2023-08-28 00:00:00.000', 'Why is OnChainLiquidator.sol not utilized in the Comet repository, and is there another repository that contains Liquidator.sol?', 'OnChainLiquidator.sol is not used in the Comet repository, and there is a separate Liquidator.sol that is deployed as seen on etherscan. These two contracts are distinct at the code level. OnChainLiquidator.sol is deployed, but anyone has the option to re-deploy it if needed. Liquidation operations are primarily conducted by a liquidation bot, and it is not accessible from the frontend. For those interested in running the liquidation bot, a guide is available at https://www.comp.xyz/t/the-compound-iii-liquidation-guide/3452. ', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1145643586143146106');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('f235ca9d-75a1-4c67-9211-c83959d73d8c', 'compound-eth-1', '2023-01-09 00:00:00.000', '2023-01-09 00:00:00.000', 'Where can I find information about the status of COMP reward emissions in Compound V3?', 'You can check the status of COMP reward emissions in Compound V3 by visiting the following link: https://compound.finance/governance/comp. ', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1147026070193840178');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('5e291a48-75fc-4582-b32d-2f1ec6ae7676', 'compound-eth-1', '2023-06-09 00:00:00.000', '2023-06-09 00:00:00.000', 'How can I calculate a user''s balance without calling "balanceOf" for a specific asset, like cUSDCv3, especially when private variables are involved in the calculation?', 'To estimate a user''s balance without invoking the "balanceOf" function, you can refer to the UserBasic value, which is a pre-calculated value. This UserBasic value is used in the internal calculations to determine a user''s balance. To do this locally, you may need to mimic the logic within the accrueInternal function to update the indices. While some of these variables are private, you can access them using helper functions provided in the Compound documentation, like https://docs.compound.finance/helper-functions/#get-base-asset-market-information ', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1148717788500873317');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('f3f3dc24-16a9-4283-a35c-88e2adeee58d', 'compound-eth-1', '2023-08-09 00:00:00.000', '2023-08-09 00:00:00.000', 'When calculating estimated returns for a swap from USDC to cUSDCv3, ''balanceOf'' is useful, but how can I estimate returns for the reverse swap (cUSDCv3 to USDC)?', 'When swapping between cUSDCv3 and USDC, they are typically considered 1:1. However, due to integer math and rounding, there might be a slight difference. For example, 1000 wei of cUSDCv3 might result in 999 wei of USDC due to rounding down.', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1149732471882121278');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('77a9bf71-5c56-4c4d-ab29-f69605ab2034', 'compound-eth-1', '2023-09-14 00:00:00.000', '2023-09-14 00:00:00.000', 'I''m using a script on a Hardhat-forked Mainnet, but my borrows aren''t showing up. The transaction is successful with accurate inputs and data. Any thoughts on what might be causing this issue?', 'It seems that USDT is not considered valid collateral, as its collateral factor is set to 0%. This might be the reason why your borrows are not reflected as expected. Ensure that you are using assets that are supported as collateral to make your borrows visible in your script.', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1151776907466117122');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('e86753d1-c201-4d51-9f83-649acb253c3e', 'compound-eth-1', '2023-09-19 00:00:00.000', '2023-09-19 00:00:00.000', 'In compound-v2, do all markets retrieved using comptroller.getAllMarkets() have an associated ''MarketListed'' event emitted from comptroller or is there a method to add a market that doesnt trigger the ''MarketListed'' event?', 'You can safely assume that for compound-v2, all markets obtained through comptroller.getAllMarkets() will indeed have an associated ''MarketListed'' event emitted from the comptroller. This event is essential for market listing and tracking.', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1153738859000103085');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('c48c3592-9cd6-4553-b263-46e760a2e919', 'compound-eth-1', '2023-09-21 00:00:00.000', '2023-09-21 00:00:00.000', 'How can I deploy a new market using the CometFactory, and what''s the process for calling ''setRewardConfig'' with a reward token other than COMP?', 'To deploy a new market from the CometFactory and use ''setRewardConfig'' with a different reward token (not COMP), you can pass the desired reward token''s address as the second argument when calling ''setRewardConfig.'' ''setRewardConfig'' expects two arguments: the Comet address and the token address, allowing you to use any valid ERC20 token as the second argument.', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1154160650025701497');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('2cbeaea7-815e-4a83-9c79-d6f1da2e51c9', 'compound-eth-1', '2023-09-21 00:00:00.000', '2023-09-21 00:00:00.000', 'Can a single CometRewards instance support multiple reward tokens?', 'No, a single CometRewards instance can support multiple Comets, but each Comet can have only one associated reward token. If you wish to introduce another reward token for the same Comet, you would need to create a new CometRewards contract. Managing multiple reward tokens for one instance of Comet can be challenging because the speeds are stored in Comet instead of CometRewards, making it more complex when dealing with multiple reward tokens for one Comet instance.', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1154483367719473172');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('50b5be74-7fc0-4863-a07c-67dc452b109c', 'compound-eth-1', '2023-09-27 00:00:00.000', '2023-09-27 00:00:00.000', 'In ''transferBase,'' instances arise where the source takes extra loans, and the destination gets only a partial repayment, leading to no event emission. This complicates tracking user or total borrows during transfers. Are there solutions and plans to add events in future versions?', 'During ''transferBase,'' there is no actual transfer of the base asset; it''s all internal accounting. This lack of a transfer event from the base token contract makes it impossible to track borrows during transfers. One potential solution could be to emit a ''TransferBase'' event to address this issue. As of now, you might need to make contract calls to fill in these gaps. The addition of a ''TransferBase'' event would indeed be helpful, but as of the current state, it may require additional measures to ensure accurate tracking during transfers.', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1156636818314379368');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('2671abe9-dd5d-41ef-9ec1-353479b04b2d', 'compound-eth-1', '2023-11-10 00:00:00.000', '2023-11-10 00:00:00.000', 'I primarily use Foundry/Solidity and want some guidance on the key functions, potential nuances involved and ntegrating with Compound v3 proxy/implementation contracts, focusing on supplying the base asset, providing collateral, borrowing, and repaying.', 'Compound v3 has two implementation contracts, CometExt and CometCore. Users interact with a single proxy address, and you can use the CometInterface.sol contract to access all the functions. To supply collateral or the base asset, you can use the ''supply'' method. When an account supplies the base asset and collateral to a lending market, it will have a positive base asset balance. If it proceeds to borrow from the lending market, it uses the supplied base asset and collateral amounts to calculate its collateral ratio. Withdrawing some of the supplied base asset can affect the account''s borrow position and collateral ratio. Please note that an account cannot simultaneously supply and borrow the base asset.', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1161416967320784936');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('00de1192-fd18-4980-87e6-2a885dec1a98', 'compound-eth-1', '2023-11-10 00:00:00.000', '2023-11-10 00:00:00.000', 'Can a vault can have both a borrow position and a supply position at the same time within the Compound v3 protocol?', 'This isn''t possible; you can''t be both borrowing and supplying the base asset at the same time. Vaults enter borrow positions for reasons like entering leveraged positions, providing collateral, borrowing the base asset, using it elsewhere to obtain collateral, and repeating the process.To withdraw supplied base assets, you can use the ''withdraw'' function. The liquidity available for withdrawal can be assessed by checking the market''s reserves. If there are enough reserves, you can withdraw. The reserves include accrued interest and fees from the protocol. The protocol constantly ensures that ''balanceOf(account)'' returns the balance of the base asset with interest included; there''s no need for additional interaction to update the interest rate or accounting. Compound v3 handles this automatically, and you can rely on ''balanceOf'' to give you the correct balance. The Compound v3 documentation and repository are well-structured and responsive to questions, making it easier to work with the protocol.', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1161734637819805729');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('b30598b4-979f-419f-beb2-f85a561e3af0', 'compound-eth-1', '2023-10-19 00:00:00.000', '2023-10-19 00:00:00.000', 'How can I obtain the underlying balance of cUSDCv3 tokens in the Compound v3 protocol when using the withdraw function, which corresponds to the amount of USDC I will receive when withdrawing?', 'To get the underlying balance of cUSDCv3 tokens when using the withdraw function, you can use the balanceOf function with the address of the account that supplied the assets. This function will return the corresponding USDC balance. In Compound v3, cTokens are 1:1 with the underlying balance, which includes both the principal and interest. It''s important to note that the cToken balance increases automatically over time for the holder due to interest accrual. If you are working with the new wrapper contract, it provides a static balance of the underlying asset as well, which eliminates the need for additional calculations.', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1164474066544103455');
INSERT INTO public.chatbot_faqs (id, space_id, created_at, updated_at, question, answer, priority, url) VALUES ('c86e6482-8764-4700-ae60-55c085f0efe2', 'compound-eth-1', '2023-10-20 00:00:00.000', '2023-10-20 00:00:00.000', '"VM Exception" error pops up while processing transaction. This issue appears while withdrawing through contract interaction. What could be causing this error??', 'The error you''re encountering when trying to withdraw through contract interaction is likely due to the incorrect usage of the withdraw function. When using the withdraw function in Compound V3, you should pass the address of the USDC token and the amount you want to withdraw, rather than the cToken (or Comet) address. This is because cUSDC (or cTokens in general) is a representation of the underlying asset, and you should specify the USDC token address when calling the withdraw function. The amount you provide should be in USDC, as USDC:cUSDC maintains a 1:1 conversion ratio. This way, you''ll be able to withdraw the correct amount in USDC.', 1, 'https://discord.com/channels/402910780124561410/402912055448961034/1164786690246840340');