mirror of
https://github.com/Instadapp/assembly.git
synced 2024-07-29 22:37:06 +00:00
TYPO
This commit is contained in:
parent
d79eadf02f
commit
b69211f790
|
@ -49,7 +49,7 @@
|
||||||
|
|
||||||
<hr class="my-4" />
|
<hr class="my-4" />
|
||||||
|
|
||||||
<div v-if="ethIsGreaterThanOnePerMile" class="flex items-center w-full px-4 mb-2">
|
<div v-if="ethIsGreaterThanOnePromille" class="flex items-center w-full px-4 mb-2">
|
||||||
<div class="flex items-start justify-between w-full">
|
<div class="flex items-start justify-between w-full">
|
||||||
<div
|
<div
|
||||||
class="flex font-medium leading-none whitespace-no-wrap text-14"
|
class="flex font-medium leading-none whitespace-no-wrap text-14"
|
||||||
|
@ -111,7 +111,7 @@ export default defineComponent({
|
||||||
ethUserBalance: { type: String, default: '0' },
|
ethUserBalance: { type: String, default: '0' },
|
||||||
stabilityLqtyGain: { type: String, default: '0' },
|
stabilityLqtyGain: { type: String, default: '0' },
|
||||||
lusdUserBalance: { type: String, default: '0' },
|
lusdUserBalance: { type: String, default: '0' },
|
||||||
ethIsGreaterThanOnePerMile: { type: Boolean, default: false }
|
ethIsGreaterThanOnePromille: { type: Boolean, default: false }
|
||||||
},
|
},
|
||||||
|
|
||||||
setup(props) {
|
setup(props) {
|
||||||
|
|
|
@ -60,7 +60,7 @@ export function useBprotocolPosition (){
|
||||||
}
|
}
|
||||||
return fromWei((new BigNumber(userData.value.bammUserBalance).dividedBy(userData.value.bammTotalSupply)).multipliedBy(userData.value.lusdTotal))
|
return fromWei((new BigNumber(userData.value.bammUserBalance).dividedBy(userData.value.bammTotalSupply)).multipliedBy(userData.value.lusdTotal))
|
||||||
});
|
});
|
||||||
const ethIsGreaterThanOnePerMile = computed(()=> {
|
const ethIsGreaterThanOnePromille = computed(()=> {
|
||||||
if(userBammInUsd.value === "0"){
|
if(userBammInUsd.value === "0"){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -138,7 +138,7 @@ export function useBprotocolPosition (){
|
||||||
absolutlWithdrawAmountInLusd,
|
absolutlWithdrawAmountInLusd,
|
||||||
userBammInUsd,
|
userBammInUsd,
|
||||||
totalBammSupplyInUsd,
|
totalBammSupplyInUsd,
|
||||||
ethIsGreaterThanOnePerMile
|
ethIsGreaterThanOnePromille
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -64,11 +64,10 @@
|
||||||
<div class="shadow rounded-lg py-8 px-6 flex">
|
<div class="shadow rounded-lg py-8 px-6 flex">
|
||||||
<div class="flex-1">
|
<div class="flex-1">
|
||||||
<h3 class="text-2xl text-primary-black font-medium">
|
<h3 class="text-2xl text-primary-black font-medium">
|
||||||
Using <br/>
|
Improved Liquidity Mining Program
|
||||||
B.Protocl V2
|
|
||||||
</h3>
|
</h3>
|
||||||
<p class="mt-4 text-primary font-medium">
|
<p class="mt-4 text-primary font-medium">
|
||||||
<a target="_blank" href="https://medium.com/b-protocol/b-amm-efficient-automated-market-maker-for-defi-liquidations-fea7b0fdc0c5">Learn More</a></p>
|
<a target="_blank" href="https://docs.bprotocol.org/info/liquidity-mining">Learn More</a></p>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex items-center">
|
<div class="flex items-center">
|
||||||
<SVGUse />
|
<SVGUse />
|
||||||
|
@ -96,7 +95,7 @@
|
||||||
price-in-usd="1"
|
price-in-usd="1"
|
||||||
:token="bammToken"
|
:token="bammToken"
|
||||||
:lusdUserBalance="lusdUserBalance"
|
:lusdUserBalance="lusdUserBalance"
|
||||||
:ethIsGreaterThanOnePerMile="ethIsGreaterThanOnePerMile"
|
:ethIsGreaterThanOnePromille="ethIsGreaterThanOnePromille"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -150,7 +149,7 @@ export default defineComponent({
|
||||||
bammToken,
|
bammToken,
|
||||||
userBammInUsd,
|
userBammInUsd,
|
||||||
totalBammSupplyInUsd,
|
totalBammSupplyInUsd,
|
||||||
ethIsGreaterThanOnePerMile
|
ethIsGreaterThanOnePromille
|
||||||
} = useBprotocolPosition()
|
} = useBprotocolPosition()
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
@ -166,7 +165,7 @@ export default defineComponent({
|
||||||
bammToken,
|
bammToken,
|
||||||
userBammInUsd,
|
userBammInUsd,
|
||||||
totalBammSupplyInUsd,
|
totalBammSupplyInUsd,
|
||||||
ethIsGreaterThanOnePerMile
|
ethIsGreaterThanOnePromille
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user