Update remaining ../abi to @parity/abi
This commit is contained in:
parent
75d9fa3fe9
commit
11bcfa05e3
@ -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';
|
||||
|
@ -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) {
|
||||
|
@ -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)) {
|
||||
|
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user