HEVMHelpers
No description available
Install / Use
/learn @brockelmore/HEVMHelpersREADME
HEVM Helpers
This library is intended for use with HEVM from dapphub. It enables writing to arbitrary contract's storage, targeted by a specific function.
Effectively: this allows you to set an arbitrary value like balanceOf of any contract, without knowing storage layout. i.e.:
function write_balanceOf(address who, address acct, uint256 value) public {
write_map(who, "balanceOf(address)", acct, value);
}
function write_balanceOfUnderlying(address who, address acct, uint256 value) public {
write_map(who, "balanceOfUnderlying(address)", acct, value);
}
function write_totalSupply(address who, uint256 value) public {
write_flat(who, "totalSupply()", value);
}
It supports multi-key mapping via: write_deep_map(address who, string memory sig, bytes32[] memory keys, address value). It has some limitations around structs.
Related Skills
node-connect
342.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
85.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
342.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
342.5kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
