@harmony-js/contract
Advanced tools
Comparing version 0.0.21 to 0.0.22
@@ -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'; |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12417
16661106
+ Added@harmony-js/account@0.0.22(transitive)
+ Added@harmony-js/core@0.0.22(transitive)
+ Added@harmony-js/crypto@0.0.22(transitive)
+ Added@harmony-js/network@0.0.22(transitive)
+ Added@harmony-js/transaction@0.0.22(transitive)
+ Added@harmony-js/utils@0.0.22(transitive)
- Removed@harmony-js/account@0.0.21(transitive)
- Removed@harmony-js/core@0.0.21(transitive)
- Removed@harmony-js/crypto@0.0.21(transitive)
- Removed@harmony-js/network@0.0.21(transitive)
- Removed@harmony-js/transaction@0.0.21(transitive)
- Removed@harmony-js/utils@0.0.21(transitive)
Updated@harmony-js/account@0.0.22
Updated@harmony-js/crypto@0.0.22
Updated@harmony-js/network@0.0.22
Updated@harmony-js/utils@0.0.22