Expand description
Module containing a contract’s types and functions.
contract Memory {
function expandMemory(uint256 memorySize) public pure returns (bool success) { <stmts> }
function testMemory() public { <stmts> }
function testMsize(uint256 offset) public returns (uint256) { <stmts> }
function testMcopy(uint256 dstOffset, uint256 offset, uint256 size, uint256 value) public returns (uint256) { <stmts> }
}
Structs§
- expand
Memory Call - @notice Expands memory to the specified size by writing a byte at that offset
@param memorySize The memory size in bytes to expand to
Function with signature
expandMemory(uint256)
and selector0xf96ef556
. - expand
Memory Return - @notice Expands memory to the specified size by writing a byte at that offset
@param memorySize The memory size in bytes to expand to
Container type for the return parameters of the
expandMemory(uint256)
function. - test
Mcopy Call - Function with signature
testMcopy(uint256,uint256,uint256,uint256)
and selector0x95970824
. - test
Mcopy Return - Container type for the return parameters of the
testMcopy(uint256,uint256,uint256,uint256)
function. - test
Memory Call - Function with signature
testMemory()
and selector0x80c1f5f6
. - test
Memory Return - Container type for the return parameters of the
testMemory()
function. - test
Msize Call - Function with signature
testMsize(uint256)
and selector0x19bb03ff
. - test
Msize Return - Container type for the return parameters of the
testMsize(uint256)
function.
Enums§
- Memory
Calls - Container for all the
Memory
function calls.