aboutsummaryrefslogtreecommitdiffstats
path: root/contracts/libs
diff options
context:
space:
mode:
authorGreg Hysen <greg.hysen@gmail.com>2018-12-23 09:23:02 +0800
committerGreg Hysen <greg.hysen@gmail.com>2019-01-15 02:49:44 +0800
commitb06f8239e1fe75703f88d34c0d225701406e28c2 (patch)
tree9beb83b64b37fb6ad67d066f089b868a8ad25fcb /contracts/libs
parent7991de9ed0b5f1e8a38097d902eae09cc6b5cf11 (diff)
downloaddexon-sol-tools-b06f8239e1fe75703f88d34c0d225701406e28c2.tar
dexon-sol-tools-b06f8239e1fe75703f88d34c0d225701406e28c2.tar.gz
dexon-sol-tools-b06f8239e1fe75703f88d34c0d225701406e28c2.tar.bz2
dexon-sol-tools-b06f8239e1fe75703f88d34c0d225701406e28c2.tar.lz
dexon-sol-tools-b06f8239e1fe75703f88d34c0d225701406e28c2.tar.xz
dexon-sol-tools-b06f8239e1fe75703f88d34c0d225701406e28c2.tar.zst
dexon-sol-tools-b06f8239e1fe75703f88d34c0d225701406e28c2.zip
Finished porting new abi encoder to contracts
Diffstat (limited to 'contracts/libs')
-rw-r--r--contracts/libs/contracts/test/TestLibs/TestLibs.sol26
1 files changed, 0 insertions, 26 deletions
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,