ethers-rs/ethers-solc/test-data/yul-sample/SimpleStore.yul

12 lines
232 B
Plaintext
Raw Normal View History

object "SimpleStore" {
code {
datacopy(0, dataoffset("Runtime"), datasize("Runtime"))
return(0, datasize("Runtime"))
}
object "Runtime" {
code {
calldatacopy(0, 0, 36) // write calldata to memory
}
}
}