@skalenetwork/marionette-interfaces 0.0.0-main.0 → 0.0.0-main.2
Sign up to get free protection for your applications and to get access to all the features.
- package/Encoder.sol +2 -2
- package/package.json +1 -1
package/Encoder.sol
CHANGED
@@ -35,7 +35,7 @@ library Encoder {
|
|
35
35
|
function encodeFunctionCall(
|
36
36
|
address receiver,
|
37
37
|
uint256 value,
|
38
|
-
bytes
|
38
|
+
bytes memory data
|
39
39
|
)
|
40
40
|
internal
|
41
41
|
pure
|
@@ -44,7 +44,7 @@ library Encoder {
|
|
44
44
|
return abi.encode(receiver, value, data);
|
45
45
|
}
|
46
46
|
|
47
|
-
function decodeFunctionCall(bytes calldata data)
|
47
|
+
function decodeFunctionCall(bytes calldata data) internal pure returns (FunctionCall memory functionCall) {
|
48
48
|
(functionCall.receiver, functionCall.value, functionCall.data) = abi.decode(data, (address, uint256, bytes));
|
49
49
|
}
|
50
50
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@skalenetwork/marionette-interfaces",
|
3
|
-
"version": "0.0.0-main.
|
3
|
+
"version": "0.0.0-main.2",
|
4
4
|
"description": "Definitions of interfaces needed to integrate with marionette smart contract",
|
5
5
|
"repository": "git@github.com:skalenetwork/marionette-interfaces.git",
|
6
6
|
"author": "Dmytro Stebaiev <dmytro@skalelabs.com>",
|