vault upgrades; fees; refactoring
This commit is contained in:
@@ -108,7 +108,7 @@ function buildOrder() {
|
||||
// uint256 minFillAmount; // if a tranche has less than this amount available to fill, it is considered completed
|
||||
// bool amountIsInput;
|
||||
// bool outputDirectlyToOwner;
|
||||
// uint64 chainOrder; // use NO_CHAIN for no chaining. chainOrder index must be < than this order's index for safety (written first) and chainOrder state must be Template
|
||||
// uint64 conditionalOrder; // use NO_CONDITIONAL_ORDER for no chaining. conditionalOrder index must be < than this order's index for safety (written first) and conditionalOrder state must be Template
|
||||
// Tranche[] tranches;
|
||||
// }
|
||||
const symbol = co.selectedSymbol
|
||||
|
||||
@@ -303,9 +303,7 @@ const _extendLeft = ref(false)
|
||||
const extendLeft = computed({
|
||||
get() {return _extendLeft.value},
|
||||
set(v) {
|
||||
console.log('set extendLeft', v)
|
||||
if (v !== _extendLeft.value) {
|
||||
console.log('DO set extendLeft')
|
||||
_extendLeft.value = v;
|
||||
const b = {...props.builder}
|
||||
b.extendLeft = v
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
<toolbar :title="title" :icon="icon">
|
||||
<slot name="toolbar"/>
|
||||
</toolbar>
|
||||
<upgrade-alert/>
|
||||
<div class="overflow-y-auto">
|
||||
<slot/>
|
||||
</div>
|
||||
@@ -12,6 +13,7 @@
|
||||
<script setup>
|
||||
|
||||
import Toolbar from "@/components/chart/Toolbar.vue";
|
||||
import UpgradeAlert from "@/components/UpgradeAlert.vue";
|
||||
|
||||
const props = defineProps(['title', 'icon'])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user