diff --git a/config.template.toml b/config.template.toml index 6ab11762..2d6cf92f 100644 --- a/config.template.toml +++ b/config.template.toml @@ -101,1074 +101,3 @@ contract = "0x0541b5dd5fae206ceccaf4eeb0642e4c04d456c5bc296eab047c9414bdad4f09" [quest_boost] private_key = "0xFFFFFFFFFFFF" update_interval = 600 - -[quizzes] - -[quizzes.ekubo] -name = "Ekubo Quiz" -desc = "Challenge your knowledge of Ekubo with our quiz for a chance to secure an exclusive NFT as your reward" -intro = "Welcome to the Ekubo quiz. Let's begin. We hope you're as concentrated as the concentrated liquidity that Ekubo provides. Good Luck!" - -[[quizzes.ekubo.questions]] -kind = "text_choice" -layout = "default" -question = "Where is Ekubo building its platform?" -options = ["BSC", "Solana", "Starknet", "Ethereum"] -correct_answers = [*] - -[[quizzes.ekubo.questions]] -kind = "text_choice" -layout = "default" -question = "What are the key features of the Ekubo Protocol?" -options = [ - "Decentralization and security", - "Concentrated liquidity, a singleton architecture, and extensions", - "High transaction fees", - "Limited liquidity options" -] -correct_answers = [*] - -[[quizzes.ekubo.questions]] -kind = "text_choice" -layout = "default" -question = "What benefits come with concentrated liquidity?" -options = [ - "It limits liquidity provider choices", - "It increases transaction fees", - "It offers better pricing due to leverage within a price range", - "It restricts liquidity providers from earning yield" -] -correct_answers = [*] - -[quizzes.morphine] -name = "Morphine Quiz" -desc = "Test your Morphine knowledge in our quiz for a chance to win an exclusive NFT as your reward." -intro = "Welcome to the Morphine quiz! Are you familiar with DeFi on Morphine? Let's explore it together. Good luck!" - -[[quizzes.morphine.questions]] -kind = "text_choice" -layout = "default" -question = "How do Morphine vaults earn extra yield?" -options = [ - "Liquidity mining", - "Interest auto-compounding", - "Intelligent liquidity management", - "Debt reallocation" -] -correct_answers = [*] - -[[quizzes.morphine.questions]] -kind = "text_choice" -layout = "default" -question = "Which yield is the best to target on morphine?" -options = [ - "Yield with high TVL and low fees", - "Yield with high TVL and high fees", - "Yield with low TVL and low fees", - "Yield with low TVL and high fees" -] -correct_answers = [*] - -[[quizzes.morphine.questions]] -kind = "text_choice" -layout = "default" -question = "What is the value of Morphine?" -options = [ - "Comparing all yields to find best yield", - "Providing lending interest", - "Swapping assets", - "Bridging funds" -] -correct_answers = [*] - -[quizzes.carmine] -name = "Carmine Quiz" -desc = "Test your knowledge of Carmine Options in our quiz, and you could win an exclusive NFT as your prize." -intro = "Welcome to the Carmine Options quiz. Are you an options expert? Let's discover together. Best of luck!" - -[[quizzes.carmine.questions]] -kind = "text_choice" -layout = "default" -question = "Which financial product does Carmine offer?" -options = [ - "Options", - "FX", - "Forwards", - "Ethereum" -] -correct_answers = [*] - -[[quizzes.carmine.questions]] -kind = "text_choice" -layout = "default" -question = "What are call options?" -options = [ - "A type of smart contract to execute trades", - "A financial contract that gives the holder the right to buy a specific stock at a specified price within a certain time frame", - "A method for making efficient trading", - "A derivative to settle in the present time" -] -correct_answers = [*] - -[[quizzes.carmine.questions]] -kind = "text_choice" -layout = "default" -question = "What is the role of liquidity providers in Carmine Option liquidity pools?" -options = [ - "Liquidity providers facilitate options trades", - "Liquidity providers update volatility mechanisms", - "Liquidity providers assume the counter-position to users' options trades", - "Liquidity providers enforce exposure limits" -] -correct_answers = [*] - -[quizzes.gigabrain_1] -name = "Starknet Giga Brain Quiz" -desc = "Let's kick off the first part of the quiz to evaluate your foundational knowledge of Starknet" -intro = "Take part in our Starknet quiz to test your knowledge, and you'll have a chance to win an exclusive Giga Brain NFT as your reward." - -[[quizzes.gigabrain_1.questions]] -kind = "text_choice" -layout = "default" -question = "What is Starknet?" -options = [ - "Starknet is a zkEVM scaling solution.", - "Starknet is a Layer 1 blockchain separate from Ethereum.", - "An Ethereum Layer 2 secured by STARK proofs.", - "Starknet is a permissioned blockchain primarily." -] -correct_answers = [*] - -[[quizzes.gigabrain_1.questions]] -kind = "text_choice" -layout = "default" -question = "What are STARKs?" -options = [ - "STARKs is a cryptographic solution decreasing blockspace.", - "STARKs are a mathematical mechanism to provide proof of integrity in computer tasks.", - "STARKs are a widely adopted consensus algorithm for blockchain networks.", - "STARKs are a collection of Smart contract execution models." -] -correct_answers = [*] - -[[quizzes.gigabrain_1.questions]] -kind = "text_choice" -layout = "default" -question = "Which one of these 4 options plays a crucial in Starknets architecture? " -options = [ - "Miner", - "Executor", - "Sequencer", - "Interpreter" -] -correct_answers = [*] - -[quizzes.gigabrain_2] -name = "Starknet Giga Brain Quiz" -desc = "Let's proceed with the second segment of the Starknet quiz, where we'll explore more in-depth questions." -intro = "Take part in our Starknet quiz to test your knowledge, and you'll have a chance to win an exclusive Giga Brain NFT as your reward." - -[[quizzes.gigabrain_2.questions]] -kind = "text_choice" -layout = "default" -question = "What are the differences between SNARKs and STARKs in the context of rollups?" -options = [ - "SNARKs are more scalable and require no trusted setup, while STARKs lack quantum resistance.", - "SNARKs require a trusted setup and lack scalability, whereas STARKs are quantum-secure and scalable.", - "SNARKs and STARKs are the same cryptographic technique with no differences.", - "SNARKs are faster in calculations, but STARKs are more widely adopted in Web 3." -] -correct_answers = [*] - -[[quizzes.gigabrain_2.questions]] -kind = "text_choice" -layout = "default" -question = "What is Cairo?" -options = [ - "Cairo is a low-level assembly language.", - "Cairo is a provable programming language that permits to deploy smart contracts on Starknet.", - "Cairo is a blockchain platform for deploying smart contracts.", - "Cairo is a Rust-based virtual machine." -] -correct_answers = [*] - -[[quizzes.gigabrain_2.questions]] -kind = "text_choice" -layout = "default" -question = "What was the Quantum Leap upgrade and what did it achieve?" -options = [ - "A Starknet upgrade which achieved a 10X increase in Tps.", - "An upgrade of Starknet Beta V1.0.0, and introduced a new language.", - "An upgrade of Starknet V.0.11.9 and it achieved security enhancements.", - "Starknet upgraded which achieved 10x transaction latency." -] -correct_answers = [*] - -[quizzes.gigabrain_3] -name = "Starknet Giga Brain Quiz" -desc = "Participate in the last part of our Starknet Quest quiz to test your knowledge about the foundation!" -intro = "Take part in our Starknet quiz to test your knowledge, and you'll have a chance to win an exclusive Giga Brain NFT as your reward." - -[[quizzes.gigabrain_3.questions]] -kind = "text_choice" -layout = "default" -question = "What is the primary role of the Starknet Foundation within the ecosystem?" -options = [ - "To serve as a mission-driven non-profit organization.", - "To maintain Starknet as a permissioned infrastructure.", - "To promote decentralization, liveness, censorship resistance, transparency, and creativity in Starknet.", - "To make decisions regarding protocol updates." -] -correct_answers = [*] - -[[quizzes.gigabrain_3.questions]] -kind = "text_choice" -layout = "default" -question = "How does the voting process work on Starknet?" -options = [ - "Voting takes place on the Mainnet, and a proposal requires a minimum votes to be valid.", - "Voting has a period where voters can examine a proposal and then vote via Snapshot.", - "The Foundation does the voting process.", - "Voting power was distributed solely among all DEFI Platforms." -] -correct_answers = [*] - -[[quizzes.gigabrain_3.questions]] -kind = "text_choice" -layout = "default" -question = "What will the STRK token be used for?" -options = [ - "Transaction fees, staking, and voting in Starknet governance.", - "Solely for paying transaction fees in Ether (ETH).", - "To secure the network and ensure its liveness.", - "To support the development of non-native tokens within Starknet." -] -correct_answers = [*] - -[[quizzes.gigabrain_3.questions]] -kind = "text_choice" -layout = "default" -question = "What does SNIP stand for in the context of Starknet?" -options = [ - "Starknet Networking and Infrastructure Proposal", - "Starknet Improvement Proposal", - "Starknet Node Integration Proposal", - "Starknet Security and Identity Proposal" -] -correct_answers = [*] - -[quizzes.aa_mastery_1] -name = "Starknet AA Mastery Quiz" -desc = "Take part in our Starknet Quest quiz to evaluate your Account Abstraction knowlegde, starting with basic AA concepts." -intro = "Starknet Quest Quiz Rounds, a quiz series designed to make Starknet ecosystem knowledge accessible and enjoyable for all. Test your knowledge, have fun, and earn exclusive NFT rewards by testing your Starknet related topics." - -[[quizzes.aa_mastery_1.questions]] -kind = "text_choice" -layout = "default" -question = "In the context of Ethereum, what do EOA wallets stand for and what are they?" -options = [ - "Ethereum Operational Accounts, used for mining ETH.", - "Ethereum On-chain Authentication, used for DApps.", - "External Ownership Addresses, used for tracking network upgrades.", - "Externally Owned Accounts, your conventional wallets for sending and receiving ETH." -] -correct_answers = [*] - -[[quizzes.aa_mastery_1.questions]] -kind = "text_choice" -layout = "default" -question = "What is the primary disadvantage associated with Externally Owned Accounts (EOAs) in Ethereum?" -options = [ - "Their adaptability and customization options for user requirements are limited.", - "They employ a 6-digit password as a means of private key protection.", - "Initiating transactions doesn't necessitate the use of private keys.", - "They lack flexibility and are pre-determined by the protocol, leading to poor UX." -] -correct_answers = [*] - -[[quizzes.aa_mastery_1.questions]] -kind = "text_choice" -layout = "default" -question = "What exactly is a Smart contract wallet in the context of Starknet?" -options = [ - "A wallet that can lock control of user funds to smart contracts.", - "A wallet describing the complexity of blockchain smart contracts.", - "A wallet which is a smart contract and that is highly customizable.", - "A blockchain wallet consensus algorithm used for securing transactions." -] -correct_answers = [*] - -[[quizzes.aa_mastery_1.questions]] -kind = "text_choice" -layout = "default" -question = "What are the main 2 smart contract wallets on Starknet? " -options = [ - "Phanton, Trust Wallet", - "Argent, Braavos", - "MetaMask, Ledger", - "OKX, Binance " -] -correct_answers = [*] - -[quizzes.aa_mastery_2] -name = "Starknet AA Mastery Quiz" -desc = "Participate in our Starknet Quest quiz Part 2, check how well you understand Account Abstraction in-depth." -intro = "Starknet Quest Quiz Rounds, a quiz series designed to make Starknet ecosystem knowledge accessible and enjoyable for all. Test your knowledge, have fun, and earn exclusive NFT rewards by testing your Starknet related topics." - -[[quizzes.aa_mastery_2.questions]] -kind = "text_choice" -layout = "default" -question = "What is Signature Abstraction in the context of Smart Contract Wallets?" -options = [ - "It ensures comfortable user experiences by allowing multiple simultaneous transactions.", - "It enables the use of any custom logic for account control or any type of device for Signatures.", - "System enforces the complete ordering of transactions for security.", - "The feature restricts customization of account permissions." -] -correct_answers = [*] - -[[quizzes.aa_mastery_2.questions]] -kind = "text_choice" -layout = "default" -question = "What is Fee Abstraction in the context of Smart Contract Wallets?" -options = [ - "Fee Abstraction ensures comfortable user experiences by allowing multiple simultaneous transactions.", - "Fee Abstraction restricts users to using only the network's native token for transaction fees.", - "Fee Abstraction allows different tokens to be used as payment for Tx fees, not limited to the native token.", - "Fee Abstraction enforces complete ordering of transactions for security. " -] -correct_answers = [*] - -[[quizzes.aa_mastery_2.questions]] -kind = "text_choice" -layout = "default" -question = "What does the concept of 'Multicall' offer in the context of Smart Contract Wallets." -options = [ - "It enables you to execute multiple transactions simultaneously, increasing gas fees.", - "It allows you to bundle multiple transactions into one transaction, simplifying on-chain interactions.", - "It provides a method to recover lost seed phrases for wallet security.", - "It automates the inspection of each transaction, ensuring user control." -] -correct_answers = [*] - -[[quizzes.aa_mastery_2.questions]] -kind = "text_choice" -layout = "default" -question = "How do 'Session keys' benefit users interacting on Starknet?" -options = [ - "They allow users to bypass transaction signing and use DApps/games without any signature.", - "They eliminate the need for social recovery methods in DApps.", - "Session keys enhance usability by reducing repeated signing & enabling signature allowances", - "They provide unlimited access to a Dapp's functions without restrictions." -] -correct_answers = [*] - -[quizzes.aa_mastery_3] -name = "Starknet AA Mastery Quiz" -desc = "Participate in our final Account Abstraction Mastery Quiz, with a focus on ecosystem players. Prove your expertise, become an AA master." -intro = "Starknet Quest Quiz Rounds, a quiz series designed to make Starknet ecosystem knowledge accessible and enjoyable for all. Test your knowledge, have fun, and earn exclusive NFT rewards by testing your Starknet related topics." - -[[quizzes.aa_mastery_3.questions]] -kind = "text_choice" -layout = "default" -question = "How does Braavos Hardware Signer Work?" -options = [ - "It uses a special security chip in mobile devices to create and protect private keys.", - "The chip generates a unique identifier (UID) that is connected with your Social Media", - "Using biometric authentication like fingerprints to create an EOA.", - "It relies on a complex cryptographic algorithm called NIST-P256." -] -correct_answers = [*] - -[[quizzes.aa_mastery_3.questions]] -kind = "text_choice" -layout = "default" -question = "What is the Argent Web Wallet, and what features does it offer?" -options = [ - "A physical wallet for storing cryptocurrency with a smart lock.", - "A self-custodial smart wallet on your browser with various features, such as 2FA via mail.", - "A browser extension for secure internet browsing.", - "An online shopping platform for buying digital goods." -] -correct_answers = [*] - -[quizzes.avnu] -name = "AVNU NoFluff Quiz" -desc = "Take part in our AVNU NoFluff Quiz to test your knowledge about Starknet’s Aggerator, and you'll have a chance to win an exclusive AVNU NoFluff Quiz as your reward." -intro = "Starknet Quest Quiz Rounds, a quiz series designed to make Starknet ecosystem knowledge accessible and enjoyable for all. Test your understanding of the workings of AVNU, enjoy the experience, and earn an exclusive NFT reward by testing your knowledge about Starknet Ecosystem projects!" - -[[quizzes.avnu.questions]] -kind = "text_choice" -layout = "default" -question = "What is AVNU's mission? " -options = [ - "To build Liquidity Infrastructure for traders and dApps", - "To offer the highest yields on investments", - "To create a social media platform", - "To provide health services " -] -correct_answers = [*] - -[[quizzes.avnu.questions]] -kind = "text_choice" -layout = "default" -question = "What problem does AVNU aim to address in the DeFi space?" -options = [ - "Inefficiencies in transportation systems", - "Poor weather forecasting", - "Capital inefficiency and poor price discovery in AMMs", - "Lack of social media engagement " -] -correct_answers = [*] - -[[quizzes.avnu.questions]] -kind = "text_choice" -layout = "default" -question = "How does AVNU's RFQ system work to improve the trading experience?" -options = [ - "By offering the highest possible yields to users", - "By preventing impermanent loss", - "By aggregating liquidity from various AMMs", - "By leveraging professional market makers and off-chain pricing algorithms" -] -correct_answers = [*] - -[[quizzes.avnu.questions]] -kind = "text_choice" -layout = "default" -question = "What is MEV ? How does AVNU protect your from it?" -options = [ - "MEV is Maximum Earnings Volatility. AVNU ensures it through trading volume.", - "MEV is Market Efficiency Verification. AVNU prevents it by using only verified liquidity sources.", - "MEV is Maximum Extractable Value. AVNU prevents front-running and maintain a secure trading environment.", - "MEV is Monetary Exchange Value. AVNU prevents it through blockchain technology." -] -correct_answers = [*] - -[quizzes.zklend] -name = "ZkLend Zenders Quiz" -desc = "Take part in our ZkLend Zenders Quiz to test your DeFi knowledge, and you'll have a chance to win an exclusive ZkLend Zenders NFT as your reward." -intro = "Starknet Quest Quiz Rounds, a quiz series designed to make Starknet ecosystem knowledge accessible and enjoyable for all. Test your understanding of the intricate workings of ZkLend, enjoy the experience and earn exclusive NFT rewards by testing your Starknet-related topics." - -[[quizzes.zklend.questions]] -kind = "text_choice" -layout = "default" -question = "What is ZkLend?" -options = [ - "ZkLend is a traditional banking system.", - "ZkLend is a cryptocurrency used for online payments.", - "ZkLend is a permissionless lending market like Aave.", - "ZkLend is a physical lending institution with branches worldwide." -] -correct_answers = [*] - -[[quizzes.zklend.questions]] -kind = "text_choice" -layout = "default" -question = "About borrowing and lending, what affirmation is true ?" -options = [ - "Borrowing allows users to deposit assets to earn interest.", - "Lending allows users to deposit assets to earn interest", - "Borrowing and lending both refer to depositing assets to earn interest without any collateral involved.", - "Borrowing and lending are unrelated to ZKLend; it's a decentralized platform for gaming. " -] -correct_answers = [*] - -[[quizzes.zklend.questions]] -kind = "text_choice" -layout = "default" -question = "What is the Health Factor in ZkLend?" -options = [ - "A numerical representation of the leverage ratio", - "A metric showing a user's borrowing capacity", - "The sum of outstanding borrowings and accrued interest", - "The safety of deposited assets in relation to borrowed assets" -] -correct_answers = [*] - -[[quizzes.zklend.questions]] -kind = "text_choice" -layout = "default" -question = "What does liquidation mean in ZkLend?" -options = [ - "Liquidation is a process initiated by borrowers to lower their debt.", - "Liquidation is the process of selling off collateral to repay a borrower's debt.", - "Liquidation is a bonus given to borrowers who maintain a high Health Factor.", - "Liquidation is a penalty imposed on external parties for monitoring zkLend's loan portfolios." -] -correct_answers = [*] - -[quizzes.starknetid] -name = "Starknet ID Tribe Quiz" -desc = "Take part in our Starknet ID Tribe Quiz to test your knowledge, and you'll have a chance to win an exclusive Starknet ID Tribe NFT as your reward." -intro = "Starknet Quest Quiz Rounds, a quiz series designed to make Starknet ecosystem knowledge accessible and enjoyable for all. Test your understanding of the Basics of how Starknet ID functions, enjoy and earn an exclusive NFT reward by testing your knowledge about Starknet Ecosystem projects!" - -[[quizzes.starknetid.questions]] -kind = "text_choice" -layout = "default" -question = "What is the primary purpose of Starknet.id?" -options = [ - "A social media platform", - "An online marketplace", - "An identity and naming protocol for Starknet", - "A gaming platform" -] -correct_answers = [*] - -[[quizzes.starknetid.questions]] -kind = "text_choice" -layout = "default" -question = "What extension do the domain names use on Starknet.id?" -options = [ - ".com", - ".stark", - ".crypto", - ".eth" -] -correct_answers = [*] - -[[quizzes.starknetid.questions]] -kind = "text_choice" -layout = "default" -question = "What is the purpose of the 'Proof of Personhood' (POP) verification in Starknet.id?" -options = [ - "To verify financial transactions", - "To prove ownership of digital assets", - "To verify that a user is a real human and a single person", - "To confirm the user's location" -] -correct_answers = [*] - -[quizzes.sithswap] -name = "SithSwap The Dark Side Quiz" -desc = "Take part in our SithSwap The Dark Side Quiz to test your knowledge, and you'll have a chance to win an exclusive The Dark Side NFT as your reward." -intro = "Starknet Quest Quiz Rounds, a quiz series designed to make Starknet ecosystem knowledge accessible and enjoyable for all. Put your knowledge of the fundamental workings of SithSwap to the test, enjoy and earn an exclusive NFT reward by testing your knowledge about Starknet Ecosystem projects!" - -[[quizzes.sithswap.questions]] -kind = "text_choice" -layout = "default" -question = "What are volatile pairs in dual-liquidity pools?" -options = [ - "Volatile pairs are designed for assets with little-to-no volatility.", - "Volatile pairs rely on a constant-product formula.", - "Volatile pairs are optimized for assets with medium-to-high price volatility", - "Volatile pairs have extremely low slippage on large trading volumes." -] -correct_answers = [*] - -[[quizzes.sithswap.questions]] -kind = "text_choice" -layout = "default" -question = "Why are stable pairs attractive for traders?" -options = [ - "Because they offer high returns on investment", - "Because they involve tokens with unpredictable price fluctuations", - "Because they allow for extremely low slippage, even on large trading volumes", - "Because they have high liquidity and are easy to trade" -] -correct_answers = [*] - -[quizzes.focustree] -name = "Focus Tree - Attentiveness Tree Quiz" -desc = "Test your knowledge of Focus Tree in our quiz, and you could win an exclusive NFT as your prize." -intro = "Engage in our Focus Tree Quest, finish the tasks, and secure an exclusive Attentiveness Tree NFT as your reward." - -[[quizzes.focustree.questions]] -kind = "text_choice" -layout = "default" -question = "How much time per day do teenagers spend on their phone on average?" -options = [ - "2 hours", - "3 hours", - "5 hours", - "9 hours" -] -correct_answers = [*] - -[[quizzes.focustree.questions]] -kind = "text_choice" -layout = "default" -question = "What’s the percentage of the population that are feeling addicted to their phones?" -options = [ - "2%", "16%", "47%", "99%" -] -correct_answers = [*] - -[[quizzes.focustree.questions]] -kind = "text_choice" -layout = "default" -question = "What are the benefits from using Focus Tree app?" -options = [ - "Increase my focus and mental health while collecting NFTs.", - "Transforms my phone into a hoverboard.", - "Cooks dinner for me every evening.", - "Teaches my cat to speak fluent Spanish." -] -correct_answers = [*] - -[quizzes.briq] -name = "briquiz 🧱" -desc = "briq is the Starknet project that allows to build anything you want as an NFT, using little construction blocks stored on the blockchain called 'briqs'. Take the quizz to check if you know all about this blocky project!" -intro = "Ready? Set? Briq!" - -[[quizzes.briq.questions]] -kind = "text_choice" -layout = "default" -question = "What are briqs?" -options = [ - "Tokenized real estate shares", - "ERC-1155 compatible construction blocks used to build NFTs", - "ERC-20 tokens used to trade DeFi", - "ERC-721 collectibles used as profile pictures" -] -correct_answers = [*] - -[[quizzes.briq.questions]] -kind = "text_choice" -layout = "default" -question = "What are sets?" -options = [ - "ERC-721 collectibles built with briqs", - "ERC-1155 tokens used to build houses", - "Tokenized real estate shares", - "ERC-20 stablecoins" -] -correct_answers = [*] - -[[quizzes.briq.questions]] -kind = "text_choice" -layout = "default" -question = "What is the briq factory?" -options = [ - "A real factory, based in France, that produces physical bricks", - "A secondary market to briqs", - "A contract issuing briqs on the primary market, according to an emission schedule", - "A marketplace to buy sets" -] -correct_answers = [*] - -[[quizzes.briq.questions]] -kind = "text_choice" -layout = "default" -question = "When was briq deployed on Starknet mainnet for the 1st time?" -options = [ - "December 2021", - "January 2020", - "November 2022", - "June 2023" -] -correct_answers = [*] - -[quizzes.element] -name = "Element - Gemstone Quest Quiz" -desc = "Challenge your Element knowledge with our quiz for a chance to score an exclusive NFT prize." -intro = "Embark on our Element Quest, complete the tasks, and claim an exclusive Gemstone NFT as your reward." - -[[quizzes.element.questions]] -kind = "text_choice" -layout = "default" -question = "What is Element?" -options = [ - "A popular cryptocurrency exchange", - "A mobile gaming app", - "A community-driven aggregated marketplace for NFTs", - "A new social media platform" -] -correct_answers = [*] - -[[quizzes.element.questions]] -kind = "text_choice" -layout = "default" -question = " Which chain does Element NOT support currently?" -options = [ - "ETH", - "ZkSync", - "Starknet", - "Solana" -] -correct_answers = [*] - -[[quizzes.element.questions]] -kind = "text_choice" -layout = "default" -question = "What is the right answer in the context of Element?" -options = [ - "Gas fee savings of up to 49% on NFT Trading.", - "Gas increase of 35%", - "Royalty payments instantly with 50% Gas", - "Whale tracking for high Gas crypto trading" -] -correct_answers = [*] - -[quizzes.element_starknetid] -name = "Starknet ID Tribe Quiz" -desc = "Take part in our Starknet ID Tribe Quiz to test your knowledge, and you'll have a chance to win an exclusive Starknet ID Tribe NFT as your reward." -intro = "Starknet Quest Quiz Rounds, a quiz series designed to make Starknet ecosystem knowledge accessible and enjoyable for all. Test your understanding of the Basics of how Starknet ID functions, enjoy and earn an exclusive NFT reward by testing your knowledge about Starknet Ecosystem projects!" - -[[quizzes.element_starknetid.questions]] -kind = "text_choice" -layout = "default" -question = "What is the primary purpose of Starknet.id?" -options = [ - "A social media platform", - "An online marketplace", - "An identity and naming protocol for Starknet", - "A gaming platform" -] -correct_answers = [*] - -[[quizzes.element_starknetid.questions]] -kind = "text_choice" -layout = "default" -question = "What extension do the domain names use on Starknet.id?" -options = [ - ".com", - ".stark", - ".crypto", - ".eth" -] -correct_answers = [*] - -[[quizzes.element_starknetid.questions]] -kind = "text_choice" -layout = "default" -question = "What is the purpose of the 'Proof of Personhood' (POP) verification in Starknet.id?" -options = [ - "To verify financial transactions", - "To prove ownership of digital assets", - "To verify that a user is a real human and a single person", - "To confirm the user's location" -] -correct_answers = [*] - -[quizzes.nostra] -name = "Nostra Quiz" -desc = "Take part in our Quiz to test your knowledge about Nostra, and you'll have a chance to win an exclusive LaFamiglia Rose NFT as your reward." -intro = "Starknet Quest Quiz Rounds, a quiz series designed to make Starknet ecosystem knowledge accessible and enjoyable for all. Test your understanding of the workings of Nostra, enjoy the experience, and earn an exclusive NFT reward by testing your knowledge about Starknet Ecosystem projects!" - -[[quizzes.nostra.questions]] -kind = "text_choice" -layout = "default" -question = "Which network is Nostra built on?" -options = [ - "Scroll", - "Starknet", - "Binance Smart Chain", - "zkSync" -] -correct_answers = [*] - -[[quizzes.nostra.questions]] -kind = "text_choice" -layout = "default" -question = "How many sub-accounts can a user open on Nostra?" -options = [ - "10", - "100", - "255", - "Unlimited" -] -correct_answers = [*] - -[[quizzes.nostra.questions]] -kind = "text_choice" -layout = "default" -question = "What is the minimum borrow amount for USDC on Nostra?" -options = [ - "500 USDC", - "100 USDC.", - "3000 USDC.", - "There is no minimum amount" -] -correct_answers = [*] - -[quizzes.braavos] -name = "Starknet Pro Score Quiz" -desc = "Challenge your knowledge about your Starknet Pro Score with this quiz for and learn how to reach 100%!" -intro = "Challenge your knowledge about your Starknet Pro Score with this quiz for and learn how to reach 100%!" - -[[quizzes.braavos.questions]] -kind = "text_choice" -layout = "default" -question = "How does the Pro-Score system recognize your contributions to the Starknet ecosystem?" -options = [ - "By counting the number of Starknet-related social media posts you create.", - "Through the frequency of your logins to the Braavos Wallet.", - "By measuring the diversity and consistency of your on-chain activities in Starknet.", - "Based on the feedback and ratings from other community members." -] -correct_answers = [*] - -[[quizzes.braavos.questions]] -kind = "text_choice" -layout = "default" -question = "What is the Starknet Pro Score formula?" -options = [ - "Starknet Pro Score = (O + E + T) x 3", - "Starknet Pro Score = (O + E + T) / 3", - "Starknet Pro Score = O + E - T", - "Starknet Pro Score = O x E x T" -] -correct_answers = [*] - -[[quizzes.braavos.questions]] -kind = "text_choice" -layout = "default" -question = "What is required to be eligible to claim the 'Pro Score Master' role, a prestigious distinction from the Braavos Community?" -options = [ - "Completing a set number of transactions on Starknet.", - "Participating in special Braavos Community events.", - "Achieving a 90% or higher Starknet Pro Score.", - "Being an active member for a certain period." -] -correct_answers = [*] - -[[quizzes.braavos.questions]] -kind = "text_choice" -layout = "default" -question = "What is the first step to begin your adventure with the Starknet Pro Score and explore the Starknet ecosystem?" -options = [ - "Installing the Braavos Wallet and navigating to the dApp Gallery.", - "Reading online forums about cryptocurrency.", - "Following Starknet on social media.", - "Attending a cryptocurrency seminar." -] - -correct_answers = [*] - - -[quizzes.rango] -name = "Rango Quiz" -desc = "Take part in our Quiz to test your knowledge about Rango, and you'll have a chance to win an exclusive Rango Castle Bridge NFT as your reward." -intro = "Starknet Quest Quiz Rounds, a quiz series designed to make Starknet ecosystem knowledge accessible and enjoyable for all. Test your understanding of the workings of Rango, enjoy the experience, and earn an exclusive NFT reward by testing your knowledge about Starknet Ecosystem projects!" - -[[quizzes.rango.questions]] -kind = "text_choice" -layout = "default" -question = "What does Rango specialize in?" -options = [ - "Decentralized applications ", - "Cross-chain swaps and aggregating bridges and DEXs", - "On-chain based Social media platforms", - "Highly Liquid CEX for Hedge Funds" -] -correct_answers = [*] - -[[quizzes.rango.questions]] -kind = "text_choice" -layout = "default" -question = "How many connections does Rango support in Web3?" -options = [ - "20 Cosmos Appchains and 50 CEXes", - "100 blockchains and 10 DEXes.", - "58 blockchains", - "Only the Lightning network" -] -correct_answers = [*] - -[[quizzes.rango.questions]] -kind = "text_choice" -layout = "default" -question = "What makes Rango Multichain?" -options = [ - "It only supports one type of EVM blockchain.", - "Rango is a sidechain on Starknet.", - "Rango integrates multiple types of blockchains, including EVM-based, Cosmos, Solana, and more.", - "Rango focuses exclusively on a zkEVM blockchain type" -] -correct_answers = [*] - -[quizzes.rhino] -name = "Rhino Quiz" -desc = "Take part in our Quiz to test your knowledge about Rhino, and you'll have a chance to win an exclusive Rhino- Silver Rhino NFT as your reward." -intro = "Starknet Quest Quiz Rounds, a quiz series designed to make Starknet ecosystem knowledge accessible and enjoyable for all. Test your understanding of the workings of Rhino.fi, enjoy the experience, and earn an exclusive NFT reward by testing your knowledge about Starknet Ecosystem projects!" - -[[quizzes.rhino.questions]] -kind = "text_choice" -layout = "default" -question = "What is Rhino.fi?" -options = [ - "A multi-chain cryptocurrency AA wallet", - "An online NFT shopping platform", - "A frictionless multi-chain DeFi aggregator", - "An Onchain gaming app" -] -correct_answers = [*] - -[[quizzes.rhino.questions]] -kind = "text_choice" -layout = "default" -question = "How does StarkEx contribute to rhino.fi's decentralized trading model?" -options = [ - "It provides high-frequency trading capabilities. ", - "It enables proof-of-work consensus for faster transactions.", - "It offers governance and voting mechanisms.", - "It provides fast, low-cost, and self-custodial transactions." -] -correct_answers = [*] - -[[quizzes.rhino.questions]] -kind = "text_choice" -layout = "default" -question = "What does it mean for rhino.fi to be a self-custodial DeFi platform?" -options = [ - "It means they rely on a centralized entity to manage user funds.", - "It means users have complete control and ownership of their funds.", - "It means users can't recover their funds if the platform goes offline.", - "It means users have to give up control of their funds to trade." -] -correct_answers = [*] - -[quizzes.nimbora] -name = "Defi Pot quiz" -desc = "Bridging Ethereum's Layer 1 and Layer 2 seamlessly for cost-efficient DeFi interactions with improved user experience and uncompromised pooling." -intro = "Starknet Quest Quiz Rounds, a quiz series designed to make Starknet ecosystem knowledge accessible and enjoyable for all. Test your understanding of the workings of Nostra, enjoy the experience, and earn an exclusive NFT reward by testing your knowledge about Starknet Ecosystem projects!" - -[[quizzes.nimbora.questions]] -kind = "text_choice" -layout = "default" -question = "What is Nimbora?" -options = [ - "Liquidity mining", - "L1 DeFi protocol", - "Starknet-based cross-chain yield strategy platform that enables users to engage with Layer 1 protocols at a fraction of the cost", -] -correct_answers = [*] - -[[quizzes.nimbora.questions]] -kind = "text_choice" -layout = "default" -question = "What can you do on Nimbora?" -options = [ - "Earn and borrow crypto assets", - "Bridge", - "Swap", -] -correct_answers = [*] - -[[quizzes.nimbora.questions]] -kind = "text_choice" -layout = "default" -question = "Nimbora offers yield that is:" -options = [ - "Nothing special", - "Ok, has fixed APR", - "Nimbora has the highest APR on Starknet", -] -correct_answers = [*] - -[quizzes.nostra2] -name = "Nostra Quiz" -desc = "Take part in our Quiz to test your knowledge about Nostra, and you'll have a chance to win 250 STRK." -intro = "Starknet Quest Quiz Rounds, a quiz series designed to make Starknet ecosystem knowledge accessible and enjoyable for all. Test your understanding of the workings of Nostra, enjoy the experience, and earn an exclusive NFT reward by testing your knowledge about Starknet Ecosystem projects!" - -[[quizzes.nostra2.questions]] -kind = "text_choice" -layout = "default" -question = "What is nstSTRK?" -options = [ - "The first liquid staking token on Starknet", - "A stablecoin on Nostra Money Market", - "A governance token for Nostra", -] -correct_answers = [*] - -[[quizzes.nostra2.questions]] -kind = "text_choice" -layout = "default" -question = "Will users be able to use their Nostra Staked STRK (nstSTRK) in DeFi protocols on Starknet?" -options = [ - "Yes - those who integrate with nstSTRK", - "No - it’s impossible", -] -correct_answers = [*] - -[[quizzes.nostra2.questions]] -kind = "text_choice" -layout = "default" -question = "What is the total value of idle STRK tokens on Starknet waiting to be staked on Nostra?" -options = [ - "$951 million", - "$100 million", - "$500 million", -] -correct_answers = [*] - -[quizzes.haiko] -name = "Strategist quiz" -desc = "Take part in our Quiz to test your knowledge about Haiko, and you'll have a chance to win 100 USDC." -intro = "Starknet Quest Quiz Rounds, a quiz series designed to make Starknet ecosystem knowledge accessible and enjoyable for all. Test your understanding of the workings of Nostra, enjoy the experience, and earn an exclusive NFT reward by testing your knowledge about Starknet Ecosystem projects!" - -[[quizzes.haiko.questions]] -kind = "text_choice" -layout = "default" -question = "What is Haiko?" -options = [ - "A lending protocol", - "A stablecoin provider", - "An online e-commerce site", - "An automated market making platform featuring custom strategies", -] -correct_answers = [*] - -[[quizzes.haiko.questions]] -kind = "text_choice" -layout = "default" -question = "What key benefits do strategies offer?" -options = [ - "Increases transaction fees", - "Doubles my rewards from providing liquidity", - "Automatically rebalances positions so they keep earning yield", - "Restricts me from withdrawing liquidity", -] -correct_answers = [*] - -[[quizzes.haiko.questions]] -kind = "text_choice" -layout = "default" -question = "Do I need to select a price range to deposit liquidity to a strategy" -options = [ - "No, the strategy does this automatically", - "Yes", -] -correct_answers = [*] - -[quizzes.bountive] -name = "Jackpot Journey quiz" -desc = "Bountive an innovative solution to save & invest your digital assets" -intro = "Starknet Quest Quiz Rounds, a quiz series designed to make Starknet ecosystem knowledge accessible and enjoyable for all. Test your understanding of the workings of Bountive, enjoy the experience, and earn an exclusive NFT reward by testing your knowledge about Starknet Ecosystem projects!" - -[[quizzes.bountive.questions]] -kind = "text_choice" -layout = "default" -question = "What is our protocol for?" -options = [ - "Trading Cryptocurrencies on Starknet", - "Hosting Decentralized Auctions on Starknet", - "Decentralized no-loss prize savings protocol on Starknet", - "Creating NFT Marketplaces on Starknet", -] -correct_answers = [*] - -[[quizzes.bountive.questions]] -kind = "text_choice" -layout = "default" -question = "What raffles are not available on Bountive?" -options = [ - "Core Raffles", - "Scam Raffles", - "Sponsored Raffles", - "Event Raffles", -] -correct_answers = [*] - -[[quizzes.bountive.questions]] -kind = "text_choice" -layout = "default" -question = "What is the killer feature of Bountive?" -options = [ - "High Interest Rates", - "No-loss", - "Advanced Trading Tools" -] -correct_answers = [*] \ No newline at end of file diff --git a/src/config.rs b/src/config.rs index 7841d83a..f550a129 100644 --- a/src/config.rs +++ b/src/config.rs @@ -191,7 +191,6 @@ pub_struct!(Clone, Deserialize; Config { quests: Quests, twitter: Twitter, discord: Discord, - quizzes: HashMap, starkscan: Starkscan, achievements: Achievements, quest_boost: QuestBoost, diff --git a/src/endpoints/admin/balance/create_balance.rs b/src/endpoints/admin/balance/create_balance.rs index 15d6cb83..547ac83f 100644 --- a/src/endpoints/admin/balance/create_balance.rs +++ b/src/endpoints/admin/balance/create_balance.rs @@ -67,6 +67,7 @@ pub async fn handler( desc: body.desc.clone(), verify_redirect: None, href: body.href.clone(), + total_amount: None, quest_id: body.quest_id, id: next_id, cta: body.cta.clone(), diff --git a/src/endpoints/admin/custom/create_custom.rs b/src/endpoints/admin/custom/create_custom.rs index 2709f20e..0f7b8b71 100644 --- a/src/endpoints/admin/custom/create_custom.rs +++ b/src/endpoints/admin/custom/create_custom.rs @@ -59,6 +59,7 @@ pub async fn handler( verify_redirect: Some(body.href.clone()), href: body.href.clone(), quest_id: body.quest_id, + total_amount: None, id: next_id, cta: body.cta.clone(), verify_endpoint: body.api.clone(), diff --git a/src/endpoints/admin/discord/create_discord.rs b/src/endpoints/admin/discord/create_discord.rs index 072de4cc..6405ae08 100644 --- a/src/endpoints/admin/discord/create_discord.rs +++ b/src/endpoints/admin/discord/create_discord.rs @@ -58,6 +58,7 @@ pub async fn handler( href: body.invite_link.clone(), quest_id: body.quest_id.clone(), id: next_id, + total_amount: None, cta: "Join now!".to_string(), verify_endpoint: "quests/discord_fw_callback".to_string(), verify_endpoint_type: "oauth_discord".to_string(), diff --git a/src/endpoints/admin/domain/create_domain.rs b/src/endpoints/admin/domain/create_domain.rs index 9cf5430f..9c8fef73 100644 --- a/src/endpoints/admin/domain/create_domain.rs +++ b/src/endpoints/admin/domain/create_domain.rs @@ -52,6 +52,7 @@ pub async fn handler( let new_document = QuestTaskDocument { name: body.name.clone(), desc: body.desc.clone(), + total_amount: None, href: "https://app.starknet.id/".to_string(), quest_id: body.quest_id.clone(), id: next_id, diff --git a/src/endpoints/admin/quiz/create_quiz.rs b/src/endpoints/admin/quiz/create_quiz.rs index e1e133d7..7e7a50b0 100644 --- a/src/endpoints/admin/quiz/create_quiz.rs +++ b/src/endpoints/admin/quiz/create_quiz.rs @@ -84,6 +84,7 @@ pub async fn handler( name: body.name.clone(), desc: body.desc.clone(), href: body.help_link.clone(), + total_amount: None, cta: body.cta.clone(), quest_id: body.quest_id.clone(), id: next_id.clone(), diff --git a/src/endpoints/admin/twitter/create_twitter_fw.rs b/src/endpoints/admin/twitter/create_twitter_fw.rs index 955bfbf6..4d61ef93 100644 --- a/src/endpoints/admin/twitter/create_twitter_fw.rs +++ b/src/endpoints/admin/twitter/create_twitter_fw.rs @@ -53,6 +53,7 @@ pub async fn handler( let new_document = QuestTaskDocument { name: body.name.clone(), desc: body.desc.clone(), + total_amount: None, verify_redirect: Some(format!( "https://twitter.com/intent/user?screen_name={}", body.username.clone() diff --git a/src/endpoints/admin/twitter/create_twitter_rw.rs b/src/endpoints/admin/twitter/create_twitter_rw.rs index 72dbe999..7832f8fa 100644 --- a/src/endpoints/admin/twitter/create_twitter_rw.rs +++ b/src/endpoints/admin/twitter/create_twitter_rw.rs @@ -54,6 +54,7 @@ pub async fn handler( let new_document = QuestTaskDocument { name: body.name.clone(), desc: body.desc.clone(), + total_amount: None, verify_redirect: Some(body.post_link.clone()), href: body.post_link.clone(), quest_id: body.quest_id.clone(), diff --git a/src/endpoints/quests/verify_balance.rs b/src/endpoints/quests/verify_balance.rs index b20207e1..752666ce 100644 --- a/src/endpoints/quests/verify_balance.rs +++ b/src/endpoints/quests/verify_balance.rs @@ -62,9 +62,14 @@ pub async fn handler( ) .await; + let required_amount = task.total_amount.unwrap_or_else(|| + FieldElement::from_dec_str("3000000000000000").unwrap() + ); + match call_result { Ok(result) => { - if result[0] < FieldElement::from_dec_str("3000000000000000").unwrap() { + // if result[0] < FieldElement::from_dec_str("3000000000000000").unwrap() { + if result[0] < required_amount { get_error("You didn't invest (enough).".to_string()) } else { match state.upsert_completed_task(query.addr, task_id).await { diff --git a/src/models.rs b/src/models.rs index 86db638d..2ce9ac89 100644 --- a/src/models.rs +++ b/src/models.rs @@ -113,6 +113,7 @@ pub struct QuestTaskDocument { pub name: String, pub desc: String, pub cta: String, + pub total_amount: Option, pub verify_endpoint: String, pub href: String, pub verify_endpoint_type: String,