-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: ryanwolhuter <[email protected]>
- Loading branch information
1 parent
6762b3c
commit 5c91513
Showing
6 changed files
with
131 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
src/plugins/oSnap/components/HandleOutcome/steps/AssertionFailedInOO.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<script setup lang="ts"> | ||
import { getOracleUiLink } from '@/plugins/oSnap/utils'; | ||
import { type Network } from '../../../types'; | ||
const props = defineProps<{ | ||
network: Network; | ||
proposalTxHash: string; | ||
logIndex: number | string; | ||
}>(); | ||
const oracleUiLink = getOracleUiLink( | ||
props.network, | ||
props.proposalTxHash, | ||
Number(props.logIndex) | ||
); | ||
</script> | ||
|
||
<template> | ||
<span> | ||
Proposal cannot be executed because it was disputed in the Oracle and failed | ||
to pass the vote. | ||
</span> | ||
|
||
<div> | ||
<a :href="oracleUiLink" rel="noreferrer noopener" target="_blank"> | ||
UMA Oracle URL | ||
<span class="iconfont iconexternal-link" /> | ||
</a> | ||
</div> | ||
</template> |
12 changes: 3 additions & 9 deletions
12
src/plugins/oSnap/components/HandleOutcome/steps/InOOChallengePeriod.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters