metadata: {"signature": "0xbeaad92eeb3fed2ad658574ebbf35217d772016425fd865658db0940bce7ec535d496776f053020c29b3c0d7ac6d9795d03cde00377055342bf4aa14e35822cf1c", "application": {"round": "0xf3dc658c73fc3e931d6d621f33c30c333e342132", "answers": [{"type": "multiple-choice", "hidden": true, "question": "We distribute funds in $TEC on Optimism Chain (OP Mainnet). Please confirm that you are aware of that.", "questionId": 0, "encryptedAnswer": {"ciphertext": "eBXjFI2t2QTVsEHEU0DTPTuUkOoIvp3LHwkxGqWDpj8=", "encryptedSymmetricKey": "e3415f05bdadafa2b16a6705bc5e8bacc83b3ccdf8b3a60c707435973b2adf4106607dc99f567f1b29a4172020dd770fb86035e653fc73d16b33873dc18ba8b64ce2a75bc400a9b3f51746cd91ec5c94e4772ca313ec3853edc2ac855d828d97df7d4bd64880c732cc005d027a10d88d1925f74072b3991756d665c1627784150000000000000020162dd81ee7e48e3d864cc4494ba9e1442293c36eaec35140ce192f697e53c0ed622ad57758e82b6a0f47ccee4e94128d"}}, {"type": "email", "hidden": true, "question": "Email address", "questionId": 1, "encryptedAnswer": {"ciphertext": "B/wR+sHxOxz+5gfyFZF5y7wItFBHVQjY04xUKZE/VO1Ea6mD1ksGQy9OU2yw4/Ik", "encryptedSymmetricKey": "b93664eefe599130b61045f736cf3d79b172a832f7d81cb3b3cbe54ce48c674878dfba5729b3cf7c5d4aaafbd03935037ee450c08608a5ef171ed6c54b2703c55cd23bf9a3057170cae16c2ab3751c5a2d7c6725ca0c7a460a3ca64a8abcf384f16c99700c1c3c97774b0701c6feb5974bf6b22a8300099609b16ac71fa2c81e000000000000002001a36650d39d97637b31f67991734ea7999864f279f826f2fa2bf67bac3a45e24c5b049e2badfebbba7def991b7f1685"}}, {"type": "short-answer", "hidden": true, "question": "Telegram handle", "questionId": 2, "encryptedAnswer": {"ciphertext": "kgUGX3oiYRuiChtE/Io/ugl/MiwRxPbc/+WRq+oOD+s=", "encryptedSymmetricKey": "442692a361a52eb9077f1ec703c4eb537b405b629e78ad88bd81f4b4c7cb2fb150b580761fe54d770bb4bc61eeea1517dd7aaca632b6e40c05f75d7e8636a88976319c7d4ed186b4cee47a0119c5352044ef450449b498d26194159ac2a63ab4a0a5df19a86612873e493a124e5dc26fc33178697a0bd3561ce675aa0c217fda00000000000000208133922b4c6262ece11ad99b4838edcec7504cdbe3f360d71bf6b7123543ea6e1d445292ca88d22083bdb8da78de6294"}}, {"type": "address", "hidden": true, "question": "If you participated in past Gitcoin grant rounds using a different project payout wallet address, please share it here.", "questionId": 3, "encryptedAnswer": {"ciphertext": "CIV4HzFkfeGenMoBZOgqELg3VZQ7f3eC7ZIgjusMl0Q=", "encryptedSymmetricKey": "fbf6a2b8ead98fb8e414baecce02ddc58caa5b4a895e1258ee1b8c6815e2f89792005b2887d9fe290a9c3dfe36faa0146a1517ce1e6a7db177e0789de9888971a477e6aa2005a3c49b162a2342916c5c5ec0e9a2bf94fc470a74bea2c0f02fb7f3b049b853ffb6b5509c0c628d58d2b6b8af54d84fddd3365ceae91c3cb6554600000000000000207d3a5315125b05f0e4f4a82aca85919831503a1e4f759e92764d523ac2dc304e473bf2cbbff2b2c5cf47a51b194a76b4"}}, {"type": "multiple-choice", "answer": "Yes", "hidden": false, "question": "Have you read and confirmed that your project abides by the Program General Eligibility Policy? https://tinyurl.com/tegrants-policy", "questionId": 4}, {"type": "paragraph", "answer": "@Elaine\uff1aResearcher specializing in token engineering, with expertise in agent-based modeling (ABM) simulations for complex economic systems.\n\n@Jereyme: Token engineer holding five TEA NFTs, with expertise in the crypto industry and applications of bonding curves.", "hidden": false, "question": "Individual or team summary", "questionId": 5}, {"type": "multiple-choice", "answer": "Research", "hidden": false, "question": "Project category", "questionId": 6}, {"type": "paragraph", "answer": "- Short-term Goals\nI. Utilize AI agents to explore potential malicious strategies within various PAMM and SAMM Bonding Curve combinations, identify potential risks associated with these combinations, and develop corresponding strategies for risk mitigation and mechanism optimization.\nII. Provide a scientific and rigorous research method for the development of bonding curves.\nIII. Based on experimental results, propose several strategies to enhance the economic security of the token ecosystem from a bonding curve perspective.\n\n- Long-term Goals\nBy integrating AI's agent-based modeling and simulation methods with advances in token engineering, we can open up the possibility for anyone to become a token engineer. This foundational approach fosters the development of token ecosystems that are both resilient and sustainable through community-driven, decentralized efforts. Such a framework not only promotes the field of token engineering but also accelerates the evolution of its theoretical and practical applications.", "hidden": false, "question": "What specific problem(s) do you seek to solve with this grant, and how will you know whether you have accomplished your goal(s)?", "questionId": 7}, {"type": "paragraph", "answer": "\n\nAccessibility: Our model, built on the Holobit modeling platform, is designed as an accessible public resource for exploration and testing. This platform empowers us to deliver visual clarity, promote open sharing, and ensure the model's readability, usability, and verifiability. The Terra LUNA case study above serves as a great example.\n\nEducation: The detailed models enable deep understanding of bonding curves and their critical roles within the token ecosystem. Using agent-based modeling and simulation, we illustrate methods to analyze and manage dynamic relationships and potential risks in complex systems. These skills are essential for researching token engineering and can be widely applied, fostering broader adoption and innovation in the field.\n\nTransparency: True transparency is achieved when models are comprehensible to the community. The model does not involve complex coding and uses the tool to visualize both the mechanisms and the experimental processes involved. This approach not only clarifies the workings of the model but also highlights associated risks and offers specific mitigation strategies.\n\nCommunity-driven: The community can fork this model to conduct a variety of experiments, not limited to bonding curves but also including studies on protocol governance, growth and so on. More importantly, this methodology and tool can be reused in other protocols. Everyone can publicly share their research findings, disclose vulnerabilities and areas for improvement in the token ecosystems, and truly achieve community-driven self-regulation.\n\nAlignment with Token Engineering Principles: The proficiency in these methods and tools equips individuals to perform economic security audits of protocols, supporting the practical implementation of decentralized token engineering. This skillset enables the utilization of collective intelligence to develop token ecosystems that are both more resilient and sustainable.", "hidden": false, "question": "Describe how your project contributes to token engineering and why it is a valuable public good.", "questionId": 8}, {"type": "multiple-choice", "answer": "Proof of concept (PoC)", "hidden": false, "question": "What stage do you consider your project is currently in?", "questionId": 9}, {"type": "paragraph", "answer": "- We have replicated the core mechanism of Terran/LUNA's collapse through modeling, with links and screenshots of the Terra/LUNA case provided.\n\nScenario 1, Bull market\uff1ahttps://app.holobit.world/embed/9ec46684798598c1c92b13a94231f9d429c0c4c8d9f2579069fb78b41e86c37b       \n\n\nScenario 2, Bear market\uff1ahttps://app.holobit.world/embed/9e9dbc531214e37ba84e254470326ff3b50314a91bd0cea6e50957924be628c7      \n\n\nScenario 3, Bull market & Attack\uff1ahttps://app.holobit.world/embed/7b9020e2fd1da643a2d4f424d8c72f579da30975e62430810e8261f5d1f90aa0\n\n\n- Initial research on Bonding curves has commenced.", "hidden": false, "question": "Please share any new updates or milestones from the prior months.", "questionId": 10}, {"type": "paragraph", "hidden": false, "question": "If your project has received prior funding from the Token Engineering Grants Program, please describe the impact that funding has had on the project.", "questionId": 11}, {"type": "short-answer", "answer": "no", "hidden": false, "question": "Previous project funding sources (VC, grants, token sales, etc.)", "questionId": 12}, {"type": "number", "answer": "0", "hidden": false, "question": "Total prior funding for the project in USD", "questionId": 13}, {"type": "short-answer", "hidden": true, "question": "How did you hear about the Token Engineering Grants Program?", "questionId": 14, "encryptedAnswer": {"ciphertext": "5dgDW4ZDCqCX0/wGn0Uw5qMMYHY7Mgz6ZrjaISdTR+o=", "encryptedSymmetricKey": "7940f41c3a6401b85b3767efe8691bca18e3e577091b145b9f587832854c7d345b3298a8c0dc32adc58b470e51095207d1b93bf30ec470bb4840498e45368936661172eea344c8096d1105948f41f5c43bae37de231706157a06a96473565eb7982fba7bb47374dc16bc438d2b1ecd26e31a709c634794b9f4983dbfb53eba950000000000000020a919bfd0021eaf00878be2ccb682437537b4d87fbde4bf0b6a0aabc83d8b04c161a4dc4f20df25625d84bd00977d7983"}}, {"type": "multiple-choice", "hidden": true, "question": "Would you agree to participate in a follow-up survey approximately 8 weeks after the grant round to assess the impact of the funding on your project?", "questionId": 15, "encryptedAnswer": {"ciphertext": "JA5KLu8oiVsZn9VWqym06vSPXsQSM3D9VzkKqC4YoSw=", "encryptedSymmetricKey": "616592a8ddaeb561d59a015291bb8fff14d71432697a330c725f024f2c866658347faecabde62b8b6f534616baf23a07e3ad434bdf6b4874387520da1ed3449b1c9cd658bec6946619def7437eb13c6434d6eb142b810e5f5852cabd2ee43e9519d9aa84b02a035ab619c34672bd2531568ae903cee082ce501828decc65da290000000000000020918f9593b429304ba4656813e07162e0b74a1c71d7666d08204232e68a55c8baae3b3f52c1e45ac41215f78e65b0d689"}}, {"type": "paragraph", "answer": "Potential Innovations of my project\nI. We introduce reinforcement learning into token engineering to form a protocol mechanism optimization method based on AI agents and agent-based modeling and simulation.\nII. This method is universal, deployable, and reusable, potentially benefiting the overall economic security of the token ecosystem.\nIII. Thanks to the powerful tool, our model can be understood, accessible, and verified by the community. ", "hidden": false, "question": "Anything else you'd like to share about your project, previous work, or other project affiliations? Anything you'd like to add that has not been covered?", "questionId": 16}], "project": {"id": "0x73b8a33232d9c2d55a8336d440cb9adb07a22d7502aef64f00bd1ebea273d0e3", "title": "ProtocolGuard\uff1aAI-Driven Exploring Potential Malicious Strategies in PAMMs & SAMMs", "logoImg": "bafkreibqrfdwh7vqfy5ugfgtw5anlrke7atlnagebemzybm7tw5ryqsv3q", "metaPtr": {"pointer": "bafkreidpwdmy24efgmeh5ghffbdy7dbmm3u7vhe4xmihdch6p7mqhpgny4", "protocol": "undefined"}, "website": "https://docs.google.com/document/d/1G7L_fNPZEQWfKqcmtEcs_G7XP1dBtre65PgXGx5yFmc/edit?usp=sharing", "createdAt": 1713202182283, "credentials": {"twitter": {"type": ["VerifiableCredential"], "proof": {"jws": "eyJhbGciOiJFZERTQSIsImNyaXQiOlsiYjY0Il0sImI2NCI6ZmFsc2V9..x2inGovd2mUR7goC00QWu3RldwpD_Gj1KgUw5vYurb6x5s16ZiYaq4v1oPacArsfi-_wK9mjCI3JAJFIdcXHAw", "type": "Ed25519Signature2018", "created": "2024-04-15T17:00:57.655Z", "proofPurpose": "assertionMethod", "verificationMethod": "did:key:z6MkghvGHLobLEdj1bgRLhS4LPGJAvbMA1tn2zcRyqmYU5LC#z6MkghvGHLobLEdj1bgRLhS4LPGJAvbMA1tn2zcRyqmYU5LC"}, "issuer": "did:key:z6MkghvGHLobLEdj1bgRLhS4LPGJAvbMA1tn2zcRyqmYU5LC", "@context": ["https://www.w3.org/2018/credentials/v1"], "issuanceDate": "2024-04-15T17:00:57.655Z", "expirationDate": "2024-07-14T17:00:57.655Z", "credentialSubject": {"id": "did:pkh:eip155:1:0x2744d3088e3C2c273D3E845FC96C875fbAC0C052", "hash": "v0.0.0:FleE1SUpVfBjDn5SqTtzI/Ze5MtWQLifHtBV9C4hLaM=", "@context": [{"hash": "https://schema.org/Text", "provider": "https://schema.org/Text"}], "provider": "ClearTextTwitter#0xjereyme"}}}, "description": "## About\n\n### Background\n\nBonding curves are a core building block for token ecosystems. They play a crucial role in managing token price volatility, providing necessary liquidity, and dynamically adjusting token supply. By offering a mathematical framework for defining the relationships between the elements within a token ecosystem, bonding curves enable engineering control over these token ecosystems. \n\nBack in 2018, the [Incentivai](https://www.incentivai.co/) team proposed the concept of using AI agents for optimizing mechanisms. By observing the behavior of greedy Machine Learning agents, they identified behavior patterns likely to occur once the system is deployed to real users . By comparing these actual behaviors with the expected ones, they continually refined the design of the mechanisms. This concept was explored within [Ocean Protocol's bonding curve research](https://medium.com/incentivai/bonding-curve-simulation-using-incentivai-2b2bfe0c6400), but unfortunately,  it was not widely implemented and left no readily available code.\n\n[The Bonding Curve Research Group](https://auspicious-cap-b5c.notion.site/Bonding-Curve-Research-Group-a0fe00e81d84435a8fddd547a7888063) (BCRG) has made significant strides in bonding curve research, development, education, and application since 2023. Their work on the interaction effects between [**Primary and Secondary Automated Market Makers**](https://auspicious-cap-b5c.notion.site/Bonding-Curve-Research-Group-a0fe00e81d84435a8fddd547a7888063) (**PAMMs and SAMMs**) is particularly notable. However, as outlined in their article \"[Modeling & Simulating Bonding Curves](https://auspicious-cap-b5c.notion.site/Bonding-Curve-Research-Group-a0fe00e81d84435a8fddd547a7888063)\", resource constraints have prevented deeper exploration of areas such as  malevolent strategies, penetration testing, what-if analysis and so on.\n\nOur team specializes in token engineering, and we are passionate about using agent-based modeling and simulation to optimize complex systems.\n\n### Overview\n\nInheriting the concept from Incentivai, our ProtocolGuard proposal will use AI agents trained through reinforcement learning to explore malicious strategies within various PAMM and SAMM bonding curves combinations. Through further comparative analysis and exploration in Behavior Space, we aim to identify relatively stable, optimal bonding curve parameter combinations. This will allow us to continuously refine protocol design, narrow the gap between expected and actual user behavior, and reduce economic risks within token ecosystems.\n\nIn our research, we will focus on:\n\nPAMM bonding curves: Linear, Exponential, Power, and Sigmoid. \n\nSAMM bonding curves: Constant Product Market Maker(e.g Uniswap) and a Hybrid AMM (e.g Curve Finance). \n\nThis creates eight different PAMMs/SAMMs combinations. \n\nOur methodology uses agent-based modeling and simulation. We will use AI agents to explore each combination, discover the possible negative or malicious actions, and analyze the likelihood of these behaviors. Also, we will use the simulation to visualize their results, how these malicious actions influence the system,  informing countermeasures and improved designs. \n\nWe are fortunate to have secured a premium account on [Holobit](https://holobit.world/), the first no-coding, visual modeling and simulation infrastructure for protocol design and optimization. This powerful platform will ensure complete transparency throughout our modeling and experimentation process.\n\n### Potential Innovations\n\nI. We introduce reinforcement learning into token engineering to form a protocol mechanism optimization method based on AI agents and agent-based modeling and simulation.\n\nII. This method is universal, deployable, and reusable, potentially benefiting the overall economic security of the token ecosystem.\n\nIII. Thanks to the powerful tool, our model can be understood, accessible, and verified by the community. \n\n#### Short-term Goals\n\nI. Utilize AI agents to explore potential malicious strategies within various PAMM and SAMM Bonding Curve combinations, identify potential risks associated with these combinations, and develop corresponding strategies for risk mitigation and mechanism optimization.\n\nII. Provide a scientific and rigorous research method for the development of bonding curves.\n\nIII. Based on experimental results, propose several strategies to enhance the economic security of the token ecosystem from a bonding curve perspective.\n\n#### Long-term Goals\n\nBy integrating AI's agent-based modeling and simulation methods with advances in token engineering, we can open up the possibility for anyone to become a token engineer. This foundational approach fosters the development of token ecosystems that are both resilient and sustainable through community-driven, decentralized efforts. Such a framework not only promotes the field of token engineering but also accelerates the evolution of its theoretical and practical applications.\n\n### Team\n\n@Elaine\uff1aResearcher specializing in token engineering, with expertise in agent-based modeling (ABM) simulations for complex economic systems.\n\n[@Jereyme](https://twitter.com/0xjereyme): Token engineer holding five TEA NFTs, with expertise in the crypto industry and applications of bonding curves.\n\n### Current State\n\nWe have replicated the core mechanism of Terran/LUNA's collapse through modeling, with links and screenshots of the Terra/LUNA case provided.\n\n**Scenario 1, Bull market\uff1a**\n\n[https://app.holobit.world/embed/9ec46684798598c1c92b13a94231f9d429c0c4c8d9f2579069fb78b41e86c37b](https://app.holobit.world/embed/9ec46684798598c1c92b13a94231f9d429c0c4c8d9f2579069fb78b41e86c37b)\n\n![](https://i.mij.rip/2024/04/16/59583d37dc7247d121a910f9c87eada7.jpeg)\n\n\n**Scenario 2, Bear market\uff1a**\n\n[https://app.holobit.world/embed/9e9dbc531214e37ba84e254470326ff3b50314a91bd0cea6e50957924be628c7](https://app.holobit.world/embed/9e9dbc531214e37ba84e254470326ff3b50314a91bd0cea6e50957924be628c7)\n\n![](https://ice.frostsky.com/2024/04/16/35426bba9d29585850dd611c4e6022d7.jpeg)\n\n**Scenario 3, Bull market & Attack\uff1a**\n\n[https://app.holobit.world/embed/7b9020e2fd1da643a2d4f424d8c72f579da30975e62430810e8261f5d1f90aa0](https://app.holobit.world/embed/7b9020e2fd1da643a2d4f424d8c72f579da30975e62430810e8261f5d1f90aa0)\n\n![](https://ice.frostsky.com/2024/04/16/5849ae12e5587dd8cc5f1caf5e83ed6b.jpeg)\n\nInitial research on Bonding curves has commenced.\n\n## Expected Deliverables\n\nWith the aid of the HoloBit tool for agent-based modeling, we anticipate the following deliverables:\n\n- An off-chain simulation model that incorporates AI agents, featuring experimental schemes for eight distinct PAMM and SAMM combinations. This model will be fully transparent, easily understandable, usable, and verifiable by the community.\n- A research report on potential malicious strategies for various PAMM and SAMM Bonding Curve combinations, featuring AI-agent-driven explorations, modeling details, experimental results, vulnerability analysis, and optimization strategies.\n\n## Mission and Value Alignment\n\n**Accessibility:** Our model, built on the Holobit modeling platform, is designed as an accessible public resource for exploration and testing. This platform empowers us to deliver visual clarity, promote open sharing, and ensure the model's readability, usability, and verifiability. The Terra LUNA case study above serves as a great example.\n\n**Education:** The detailed models enable deep understanding of bonding curves and their critical roles within the token ecosystem. Using agent-based modeling and simulation, we illustrate methods to analyze and manage dynamic relationships and potential risks in complex systems. These skills are essential for researching token engineering and can be widely applied, fostering broader adoption and innovation in the field.\n\n**Transparency:** True transparency is achieved when models are comprehensible to the community. The model does not involve complex coding and uses the tool to visualize both the mechanisms and the experimental processes involved. This approach not only clarifies the workings of the model but also highlights associated risks and offers specific mitigation strategies.\n\n**Community-driven:** The community can fork this model to conduct a variety of experiments, not limited to bonding curves but also including studies on protocol governance, growth and so on. More importantly, this methodology and tool can be reused in other protocols. Everyone can publicly share their research findings, disclose vulnerabilities and areas for improvement in the token ecosystems, and truly achieve community-driven self-regulation.\n\n**Alignment with Token Engineering Principles:** The proficiency in these methods and tools equips individuals to perform economic security audits of protocols, supporting the practical implementation of decentralized token engineering. This skillset enables the utilization of collective intelligence to develop token ecosystems that are both more resilient and sustainable.", "lastUpdated": 0, "projectTwitter": "0xjereyme"}, "recipient": "0x2744d3088e3C2c273D3E845FC96C875fbAC0C052"}}