aboutsummaryrefslogtreecommitdiffstats
path: root/packages/asset-buyer/src/types.ts
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-11-13 12:30:01 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-11-13 12:50:27 +0800
commitd73faf1b81cf08a3793f0207819e163b322b4433 (patch)
tree31324639b9521e82e04422e216440ea5a3f5705c /packages/asset-buyer/src/types.ts
parentadd1cfd26132465ad51a3f9cf2ae8362fc301fcf (diff)
downloaddexon-sol-tools-d73faf1b81cf08a3793f0207819e163b322b4433.tar
dexon-sol-tools-d73faf1b81cf08a3793f0207819e163b322b4433.tar.gz
dexon-sol-tools-d73faf1b81cf08a3793f0207819e163b322b4433.tar.bz2
dexon-sol-tools-d73faf1b81cf08a3793f0207819e163b322b4433.tar.lz
dexon-sol-tools-d73faf1b81cf08a3793f0207819e163b322b4433.tar.xz
dexon-sol-tools-d73faf1b81cf08a3793f0207819e163b322b4433.tar.zst
dexon-sol-tools-d73faf1b81cf08a3793f0207819e163b322b4433.zip
fix(asset-buyer): output assetEthAmount instead of ethPerAssetPrice in BuyQuoteInfos
Diffstat (limited to 'packages/asset-buyer/src/types.ts')
-rw-r--r--packages/asset-buyer/src/types.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/asset-buyer/src/types.ts b/packages/asset-buyer/src/types.ts
index 3f1e6ff21..3b573edca 100644
--- a/packages/asset-buyer/src/types.ts
+++ b/packages/asset-buyer/src/types.ts
@@ -54,12 +54,12 @@ export interface BuyQuote {
}
/**
- * ethPerAssetPrice: The price of one unit of the desired asset in ETH
+ * assetEthAmount: The amount of eth required to pay for the requested asset.
* feeEthAmount: The amount of eth required to pay the affiliate fee.
- * totalEthAmount: the total amount of eth required to complete the buy. (Filling orders, feeOrders, and paying affiliate fee)
+ * totalEthAmount: The total amount of eth required to complete the buy (filling orders, feeOrders, and paying affiliate fee).
*/
export interface BuyQuoteInfo {
- ethPerAssetPrice: BigNumber;
+ assetEthAmount: BigNumber;
feeEthAmount: BigNumber;
totalEthAmount: BigNumber;
}