ArgumentsDecoder
Library with gas efficient alternatives to abi.decode
#
Functions#
decodeUint256Memoryfunction decodeUint256Memory( bytes data) internal returns (uint256 value)
#
Parameters:Name | Type | Description |
---|---|---|
data | bytes |
#
decodeUint256function decodeUint256( bytes data) internal returns (uint256 value)
#
Parameters:Name | Type | Description |
---|---|---|
data | bytes |
#
decodeBoolMemoryfunction decodeBoolMemory( bytes data) internal returns (bool value)
#
Parameters:Name | Type | Description |
---|---|---|
data | bytes |
#
decodeBoolfunction decodeBool( bytes data) internal returns (bool value)
#
Parameters:Name | Type | Description |
---|---|---|
data | bytes |
#
decodeTargetAndCalldatafunction decodeTargetAndCalldata( bytes data) internal returns (address target, bytes args)
#
Parameters:Name | Type | Description |
---|---|---|
data | bytes |