Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@0xcert/ethereum-utils

Package Overview
Dependencies
Maintainers
2
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@0xcert/ethereum-utils - npm Package Compare versions

Comparing version 1.0.0-rc5 to 1.0.0-rc6

.nyc_output/6842d620-922c-4d5b-8470-8fa147c2a344.json

2

package.json
{
"name": "@0xcert/ethereum-utils",
"version": "1.0.0-rc5",
"version": "1.0.0-rc6",
"description": "General Ethereum utility module with helper functions for the Ethereum blockchain.",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

@@ -5,2 +5,7 @@ import { AbiCoder } from 'ethers/utils/abi-coder';

/**
* Encodes parameters for smart contract call.
* @param types Input types.
* @param values Input values.
*/
export function encodeParameters(types: any, values: Array<any>): string {

@@ -10,4 +15,9 @@ return coder.encode(types, values);

/**
* Decodes parameters from smart contract return.
* @param types Output types.
* @param data Output data.
*/
export function decodeParameters(types: any, data: any): any {
return coder.decode(types, data);
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc