From b06f8239e1fe75703f88d34c0d225701406e28c2 Mon Sep 17 00:00:00 2001 From: Greg Hysen Date: Sat, 22 Dec 2018 17:23:02 -0800 Subject: Finished porting new abi encoder to contracts --- .../libs/contracts/test/TestLibs/TestLibs.sol | 26 ---------------------- 1 file changed, 26 deletions(-) (limited to 'contracts') diff --git a/contracts/libs/contracts/test/TestLibs/TestLibs.sol b/contracts/libs/contracts/test/TestLibs/TestLibs.sol index 7a090adfb..bd5f9f9da 100644 --- a/contracts/libs/contracts/test/TestLibs/TestLibs.sol +++ b/contracts/libs/contracts/test/TestLibs/TestLibs.sol @@ -48,32 +48,6 @@ contract TestLibs is return fillOrderCalldata; } - function publicAbiDecodeFillOrder( - bytes memory fillOrderCalldata - ) - public - pure - returns ( - Order memory order, - uint256 takerAssetFillAmount, - bytes memory signature - ) - { - ( - order, - takerAssetFillAmount, - signature - ) = abi.decode( - fillOrderCalldata, - "((address,address,address,address,uint256,uint256,uint256,uint256,uint256,uint256,bytes,bytes),uint256,bytes)" - ); - return ( - order, - takerAssetFillAmount, - signature - ); - } - function publicGetPartialAmountFloor( uint256 numerator, uint256 denominator, -- cgit