Export assetDataUtils from 0x.js
This commit is contained in:
@@ -10,6 +10,7 @@ import {
|
|||||||
ExchangeWrapper,
|
ExchangeWrapper,
|
||||||
} from '@0xproject/contract-wrappers';
|
} from '@0xproject/contract-wrappers';
|
||||||
import {
|
import {
|
||||||
|
assetDataUtils,
|
||||||
ecSignOrderHashAsync,
|
ecSignOrderHashAsync,
|
||||||
generatePseudoRandomSalt,
|
generatePseudoRandomSalt,
|
||||||
isValidSignatureAsync,
|
isValidSignatureAsync,
|
||||||
@@ -34,6 +35,10 @@ export class ZeroEx {
|
|||||||
* this constant for your convenience.
|
* this constant for your convenience.
|
||||||
*/
|
*/
|
||||||
public static NULL_ADDRESS = constants.NULL_ADDRESS;
|
public static NULL_ADDRESS = constants.NULL_ADDRESS;
|
||||||
|
/**
|
||||||
|
* A set of methods to easily decode/encode assetData fields found in 0x orders.
|
||||||
|
*/
|
||||||
|
public assetData = assetDataUtils;
|
||||||
/**
|
/**
|
||||||
* An instance of the ExchangeWrapper class containing methods for interacting with the 0x Exchange smart contract.
|
* An instance of the ExchangeWrapper class containing methods for interacting with the 0x Exchange smart contract.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user