diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-08-31 05:00:10 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-08-31 05:00:10 +0800 |
commit | 63c15b6f4f7d55b358f5ca06a05c4e9fa7c1b100 (patch) | |
tree | 20600f4d65daf49f71409eb9c06d16c5d5c1620b /packages/website | |
parent | 4f2bc29744b4daac08d4bc642fba63a0d8a8ca4b (diff) | |
download | dexon-sol-tools-63c15b6f4f7d55b358f5ca06a05c4e9fa7c1b100.tar dexon-sol-tools-63c15b6f4f7d55b358f5ca06a05c4e9fa7c1b100.tar.gz dexon-sol-tools-63c15b6f4f7d55b358f5ca06a05c4e9fa7c1b100.tar.bz2 dexon-sol-tools-63c15b6f4f7d55b358f5ca06a05c4e9fa7c1b100.tar.lz dexon-sol-tools-63c15b6f4f7d55b358f5ca06a05c4e9fa7c1b100.tar.xz dexon-sol-tools-63c15b6f4f7d55b358f5ca06a05c4e9fa7c1b100.tar.zst dexon-sol-tools-63c15b6f4f7d55b358f5ca06a05c4e9fa7c1b100.zip |
Remove commented out block
Diffstat (limited to 'packages/website')
-rw-r--r-- | packages/website/ts/blockchain.ts | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/packages/website/ts/blockchain.ts b/packages/website/ts/blockchain.ts index 0ff4c4953..62659e476 100644 --- a/packages/website/ts/blockchain.ts +++ b/packages/website/ts/blockchain.ts @@ -327,26 +327,6 @@ export class Blockchain { }), ); } - // i think we can get rid of this? - // public portalOrderToZeroExOrder(portalOrder: PortalOrder): SignedOrder { - // const exchangeContractAddress = this.getExchangeContractAddressIfExists(); - // const zeroExSignedOrder = { - // exchangeContractAddress, - // maker: portalOrder.signedOrder.maker, - // taker: portalOrder.signedOrder.taker, - // makerTokenAddress: portalOrder.signedOrder.makerTokenAddress, - // takerTokenAddress: portalOrder.signedOrder.takerTokenAddress, - // makerTokenAmount: new BigNumber(portalOrder.signedOrder.makerTokenAmount), - // takerTokenAmount: new BigNumber(portalOrder.signedOrder.takerTokenAmount), - // makerFee: new BigNumber(portalOrder.signedOrder.makerFee), - // takerFee: new BigNumber(portalOrder.signedOrder.takerFee), - // expirationUnixTimestampSec: new BigNumber(portalOrder.signedOrder.expirationUnixTimestampSec), - // feeRecipient: portalOrder.signedOrder.feeRecipient, - // ecSignature: portalOrder.signedOrder.ecSignature, - // salt: new BigNumber(portalOrder.signedOrder.salt), - // }; - // return zeroExSignedOrder; - // } public async fillOrderAsync(signedOrder: SignedOrder, fillTakerTokenAmount: BigNumber): Promise<BigNumber> { utils.assert(!_.isUndefined(this._contractWrappers), 'ContractWrappers must be instantiated.'); utils.assert(this._doesUserAddressExist(), BlockchainCallErrs.UserHasNoAssociatedAddresses); |