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

@harmony-js/contract

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@harmony-js/contract - npm Package Compare versions

Comparing version 0.0.21 to 0.0.22

0

dist/abi/abiCoder.d.ts

@@ -0,0 +0,0 @@ /// <reference types="bn.js" />

@@ -0,0 +0,0 @@ import { AbiCoder as ABICoder, ParamType } from './abiCoder';

import { AbiCoderClass } from './api';
export declare function AbiCoder(): AbiCoderClass;
//# sourceMappingURL=index.d.ts.map

@@ -0,0 +0,0 @@ export declare const jsonInterfaceMethodToString: (json: any) => string;

@@ -0,0 +0,0 @@ import { Wallet } from '@harmony-js/account';

@@ -0,0 +0,0 @@ import { Wallet } from '@harmony-js/account';

@@ -0,0 +0,0 @@ import { LogSub } from '@harmony-js/network';

@@ -0,0 +0,0 @@ import { AbiCoderClass } from '../abi/api';

@@ -0,0 +0,0 @@ export * from './abi/index';

@@ -0,0 +0,0 @@ import { Wallet } from '@harmony-js/account';

3

dist/methods/method.js

@@ -7,2 +7,3 @@ "use strict";

var utils_1 = require("@harmony-js/utils");
var crypto_1 = require("@harmony-js/crypto");
var encoder_1 = require("../utils/encoder");

@@ -222,3 +223,3 @@ var status_1 = require("../utils/status");

}
var txObject = tslib_1.__assign({}, this.params[0], { to: this.contract.address, data: this.encodeABI() });
var txObject = tslib_1.__assign({}, this.params[0], { to: crypto_1.getAddress(this.contract.address).checksum, data: this.encodeABI() });
var result = new transaction_1.TransactionFactory(this.wallet.messenger).newTx(txObject);

@@ -225,0 +226,0 @@ return result;

@@ -0,0 +0,0 @@ import { AbiCoderClass } from '../abi/api';

@@ -0,0 +0,0 @@ import { AbiItemModel, AbiOutput, AbiInput } from './types';

@@ -0,0 +0,0 @@ import { AbiItemModel } from './types';

@@ -0,0 +0,0 @@ export interface AbiModel {

@@ -0,0 +0,0 @@ import { AbiItemModel } from '../models/types';

@@ -0,0 +0,0 @@ import { AbiItemModel } from '../models/types';

@@ -0,0 +0,0 @@ export declare const inputLogFormatter: (options: any) => any;

@@ -0,0 +0,0 @@ import { AbiModel } from '../models/AbiModel';

@@ -0,0 +0,0 @@ export interface ContractOptions {

@@ -0,0 +0,0 @@ export declare enum ContractStatus {

{
"name": "@harmony-js/contract",
"version": "0.0.21",
"version": "0.0.22",
"description": "contract libraries for harmony",

@@ -21,9 +21,9 @@ "main": "dist/index.js",

"dependencies": {
"@harmony-js/account": "0.0.21",
"@harmony-js/crypto": "0.0.21",
"@harmony-js/network": "0.0.21",
"@harmony-js/transaction": "0.0.21",
"@harmony-js/utils": "0.0.21"
"@harmony-js/account": "0.0.22",
"@harmony-js/crypto": "0.0.22",
"@harmony-js/network": "0.0.22",
"@harmony-js/transaction": "0.0.22",
"@harmony-js/utils": "0.0.22"
},
"gitHead": "7a51fd2bcccc294bd32f991181f755fdbc88f6e8"
"gitHead": "5c53415c333ab12d727fc1808be2e603d40489e0"
}

@@ -9,2 +9,3 @@ import { Wallet } from '@harmony-js/account';

import { hexToNumber, hexToBN } from '@harmony-js/utils';
import { getAddress } from '@harmony-js/crypto';
import { AbiItemModel } from '../models/types';

@@ -200,3 +201,3 @@ import { Contract } from '../contract';

...this.params[0],
to: this.contract.address,
to: getAddress(this.contract.address).checksum,
data: this.encodeABI(),

@@ -203,0 +204,0 @@ };

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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