Update remaining ../abi to @parity/abi

This commit is contained in:
Jaco Greeff 2017-04-20 12:03:07 +02:00
parent 75d9fa3fe9
commit 11bcfa05e3
4 changed files with 8 additions and 5 deletions

View File

@ -17,9 +17,10 @@
import BigNumber from 'bignumber.js';
import sinon from 'sinon';
import Abi from '@parity/abi';
import { TEST_HTTP_URL, mockHttp } from '../../../test/mockRpc';
import Abi from '../../abi';
import { sha3 } from '../util/sha3';
import Api from '../api';

View File

@ -16,7 +16,8 @@
import BigNumber from 'bignumber.js';
import { toChecksumAddress } from '../../abi/util/address';
import { toChecksumAddress } from '@parity/abi/util/address';
import { isString } from '../util/types';
export function outAccountInfo (infos) {

View File

@ -16,8 +16,8 @@
import { isHex } from './types';
import Func from '../../abi/spec/function';
import { fromParamType, toParamType } from '../../abi/spec/paramType/format';
import Func from '@parity/abi/spec/function';
import { fromParamType, toParamType } from '@parity/abi/spec/paramType/format';
export function decodeCallData (data) {
if (!isHex(data)) {

View File

@ -14,7 +14,8 @@
// You should have received a copy of the GNU General Public License
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
import { isAddress as isAddressValid, toChecksumAddress } from '../../abi/util/address';
import { isAddress as isAddressValid, toChecksumAddress } from '@parity/abi/util/address';
import { abiDecode, decodeCallData, decodeMethodInput, methodToAbi } from './decode';
import { abiEncode, abiUnencode, abiSignature, encodeMethodCallAbi } from './encode';
import { bytesToHex, hexToAscii, asciiToHex, cleanupValue } from './format';