• Difficulty - Medium
    Total Plays - 20
    Allowed Time - 10 sec
    Best Time - 1.062

    Why avoid multiple SSTOREs in a function?

    #A
    #B
    #C
    #D
    Explanation:
    SSTORE is one of the most expensive operations and repeating it unnecessarily multiplies costs. Caching values into memory and writing once dramatically optimizes gas. This is foundational in gas-sensitive protocols.
    Leaderboard
    User
    Rank
    Time Taken
    DeFiArchitect

    DeFiArchitect

    @DeFiArchitect

    1
    1.062 sec
    Abubaker S

    Abubaker S

    @Abubaker

    2
    1.333 sec
    ChainPenLilly

    ChainPenLilly

    @ChainPenLilly

    3
    1.336 sec
    jashwanth k

    jashwanth k

    @S9m60wj

    4
    1.847 sec
    satish mukhekar

    satish mukhekar

    @hany1Kr

    5
    1.969 sec
    Nishil A

    Nishil A

    @bVcS6U3

    6
    2.761 sec
    Mandip Kamaliya

    Mandip Kamaliya

    @WkO63NG

    7
    3.047 sec