Q&A: This AIP Aims To Reward The Apecoin DAO Contributor Who Optimized The DAO's Staking System
The ApeCoin DAO is currently voting on a proposal that if passed would reward 6,000 $Ape to the DAO contributor who optimized the $Ape staking system.
AIP-208 titled “Reflecting on AIP161 Feedback and Revising Proposed Reward,” is an ecosystem fund allocation proposal written by ApeCoin DAO Contributor Codeislight.
In their proposal, Codeislight explained that they found a way to optimize the $Ape staking contract’s gas fees and sent the information to Horizon Labs and Immunefi last year during the DAO’s bug bounty program.
“In summary, back when the staking contract was being audited through AIP-34, I found multiple gas optimizations findings, which were shared with Immunefi and classified as out of scope, since they are only concerned about security findings,” Codeislight wrote. “Thereafter, due to the time scarcity to form an AIP and wait for it to pass to implement the gas optimizations and the mainnet launch was in the following 2-3 weeks. I decided to get it implemented by reaching out to Horizen Labs. which they were happy about the findings and implemented the findings at the last moments.”
In their proposal, Codeislight wrote that the DAO is currently using their optimized gas contract and that this change will save the community a collective 1450 Eth over the staking system's three-year life span.
For finding this issue in the staking system, CodeIsLight is asking the DAO for a 6,000 $Ape reward.
To find out more about AIP-208, the Bored Ape Gazette reached out to CodeIsLight for an interview. Check it out below:
Tell me about yourself and how you got into the ApeCoin DAO?
“I am a solidity developer and warden at code4arena, I got into ApeCoin DAO back when I was trying to reach out to Horizen Labs, where I published an AIP draft, which then altered later on to be AIP161.”
In a sentence or two can you explain the issue you found with the staking system’s gas?
“There was an excessive misuse of storage, since storing into a new storage slot is expensive, so the proposal was mainly focused to reconstruct that to efficiently store and manage those data. That's beside to other optimizations.”
How did you fix it?
“I identified what are the max possible values for each value and assigned accordingly the appropriate storage bits. so instead of storing in a new storage slot, we were able to fit multiple ones into single one. Therefore, saving a lot of gas.”
What should the community know about you before they vote?
“My objective from the beginning was to add a positive sum gain to the community, without any intention of any compensation. but when I received the feedback from Mantis, I changed my plan from just moving on to actually requesting a reward. In that sense, it opens up the perspective that open-source contributors are incentivized to find where they can add value to the community.”
Do you have anything else you’d like to add or say?
“It was a blast to actually see a positive feedback on the voting after 5 months of going through the DAO process, and being rejected on the previous AIP which was a bit hard, but what matters the most is looking at the positive side of things, and reflecting on the feedback. I could have drastically improved on it if the people who voted on AIP161 did actually participate in the forum, but unfortunately I hadn't been able to receive it early on. But Nonetheless, I am glad for the opportunity ApeCoin DAO have offered me to be part of, from trying to hunt for a security vulnerability to actually saving 1500ETH+ potentially in the total 3 years staking period. Thank you for all the Apecoin members and everyone that have been part of this journey, you all have played a role in it, which I am grateful for!”
The window to vote on AIP-208 is currently open and $Ape holders have until April 5th, to cast their coins!
At the time of this article’s publication, CodeIsLight’s AIP is overwhelmingly supported by the DAO with 3 Million $Ape cast in favor of their proposal.
Comments