ERC7399 - Unified Flash Loan Layer
{"title": "ERC7399 - Unified Flash Loan Layer", "logoImg": "bafkreihq3xtu2ozciqdxbj6dhamgouddmhwgx2pywvns47v73676dqy7ri", "website": "https://github.com/alcueca/erc7399-wrappers", "bannerImg": "bafkreiaanamqrgiqhn2xulic7lsmy4m3aqk7l2hhrd4fqy7y3gr2kri4gu", "createdAt": 1713792920341, "userGithub": "alcueca", "credentials": {"twitter": {"type": ["VerifiableCredential"], "proof": {"jws": "eyJhbGciOiJFZERTQSIsImNyaXQiOlsiYjY0Il0sImI2NCI6ZmFsc2V9..EmX6PN-bOVktrstFQysJgD0Gfyi-Y6M9ySGxepm04_YFe4gV4ID2LpcR2GG58f31V9UYH7OxY0QVKEOyoNv0DA", "type": "Ed25519Signature2018", "created": "2024-04-23T05:30:19.791Z", "proofPurpose": "assertionMethod", "verificationMethod": "did:key:z6MkghvGHLobLEdj1bgRLhS4LPGJAvbMA1tn2zcRyqmYU5LC#z6MkghvGHLobLEdj1bgRLhS4LPGJAvbMA1tn2zcRyqmYU5LC"}, "issuer": "did:key:z6MkghvGHLobLEdj1bgRLhS4LPGJAvbMA1tn2zcRyqmYU5LC", "@context": ["https://www.w3.org/2018/credentials/v1"], "issuanceDate": "2024-04-23T05:30:19.791Z", "expirationDate": "2024-07-22T05:30:19.791Z", "credentialSubject": {"id": "did:pkh:eip155:1:0xbb807E3E765a9487F5F423C3555b329E755c1EEE", "hash": "v0.0.0:2D3oOX+tYsGmHZLZU0Cql4MAT6LeryzrR3cgcDARS9Q=", "@context": [{"hash": "https://schema.org/Text", "provider": "https://schema.org/Text"}], "provider": "ClearTextTwitter#alcueca"}}}, "description": "# Problem\n\nThe current state of the flash loan ecosystem is fragmented and lacks standardization, leading to several challenges for both lenders and borrowers. The absence of a common interface results in increased integration efforts, as each flash loan provider implements its own unique approach. This lack of standardization is expected to become more problematic as the ecosystem grows, requiring more resources to maintain compatibility.\n\nA comprehensive analysis of the existing flash loan protocols reveals significant differences in their implementations, including:\n\n- Inconsistent syntax for initiating flash loans across different platforms.\n- Variations in the relationship between the loan receiver and the callback receiver, with some protocols allowing different addresses for each role while others do not.\n- Divergent repayment mechanisms, with some lenders pulling the principal and fee from the loan receiver and others requiring the loan receiver to manually return the funds.\n- Disparities in the treatment of flash minting, where some lenders allow the creation of any amount of their native asset without charging a fee, effectively permitting flash loans bounded by computational constraints rather than asset ownership limitations.\n\n# Solution\n\nTo address these inconsistencies and promote a more efficient and accessible flash loan ecosystem, we propose a standardized interface that encompasses the maximum flexibility required by both lenders and borrowers. By consolidating the various approaches into a unified standard, this proposal aims to streamline the integration process, enabling borrowers to seamlessly switch between flash lenders without the need for code modifications.\n\nTo ensure that the standard achieves significant traction, wrapper contracts are being created that conform to the standardized interface, while using liquidity from existing flash lenders. Wrapper contracts are also being developed to enable other sources of liquidity for flash loans.\n\nWe envision the 7399 contracts to be the preferred venue for flash loans in the whole ethereum ecosystem.\n\n# Plans for Funding\n\nThe wrappers are simple but must be audited to encourage would-be-users. Deployment costs would also be covered by funding. All development work is done by volunteers.", "logoImgData": {}, "bannerImgData": {}, "projectGithub": "alcueca", "projectTwitter": "alcueca"}