CRYPTO NEWS

Blockchain tech driving institutional-grade solutions: Blockchain Expo Europe

Blockchain Expo Europe 2022 in Amsterdam highlights meaningful strides in enterprise-grade blockchain solutions driven by mainstream institutions.

What are the many 0 and 2,1 after the encodeWithSignature result?

// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; contract testABI { function getEncodePacked(string calldata _func,bytes calldata _data) public pure returns(bytes memory) { return abi.encodePacked(bytes4(keccak256(bytes(_func))), _data); } function getEncodeWithSignature(string calldata _func,bytes calldata _data) public pure returns(bytes memory) { return abi.encodeWithSignature(_func, _data); } } I’m working on abi.encodePacked and abi.encodeWithSignature. I want to know what "0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000" means after the::Listen

// SPDX-License-Identifier: MIT pragma solidity ^0.8.13;  contract testABI {     function getEncodePacked(string calldata _func,bytes calldata _data) public pure     returns(bytes memory) {         return abi.encodePacked(bytes4(keccak256(bytes(_func))), _data);     }      function getEncodeWithSignature(string calldata _func,bytes calldata _data) public pure returns(bytes memory) {         return abi.encodeWithSignature(_func, _data);     } } 

enter image description here

I’m working on abi.encodePacked and abi.encodeWithSignature.

I want to know what "0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000" means after the result of abi.encodeWithSignature.

Blockchain tech driving institutional-grade solutions: Blockchain Expo Europe

Shopping cart
There are no products in the cart!
Continue shopping
0