Skip to content

Commit

Permalink
Merge pull request #481 from ethereum/recipient-info
Browse files Browse the repository at this point in the history
Add dynamic deposit data
  • Loading branch information
samajammin authored Dec 15, 2021
2 parents e9df45f + 23c7ec2 commit a367d69
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 7 deletions.
3 changes: 1 addition & 2 deletions vue-app/src/views/AboutHowItWorks.vue
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
<template>
<div class="about">
<h1 class="content-heading">How the round works</h1>

<h2>CLR walkthrough</h2>
<p>
This is an overview of how everything works behind the scenes so you can
learn what to expect throughout the duration of the round.
</p>
<p>
Looking for a guides on how to partipate? Check out our guides
Looking for a guide on how to participate? Check out our guides
specifically for contributing and joining as a project.
</p>
<ul>
Expand Down
25 changes: 20 additions & 5 deletions vue-app/src/views/AboutRecipients.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,17 @@
With the forms finished, you can finish your submission by:
<ol>
<li>connecting to the right network via your wallet of choice</li>
<li>sending a deposit of 0.1 ETH to the registry contract.</li>
<li>
sending a deposit of {{ depositAmount }} {{ depositToken }} to the
registry contract.
</li>
</ol>
Projects are accepted by default, but the registry admin may remove
projects that don't meet the criteria. Either way, your ETH will be
returned once your application has been either accepted or denied. Note
that metadata pointing to all your project information (but not contact
information) will be stored publicly on-chain.
projects that don't meet the criteria. Either way, your
{{ depositToken }} will be returned once your application has been
either accepted or denied. Note that metadata pointing to all your
project information (but not contact information) will be stored
publicly on-chain.
</li>
</ol>
<h2>Claim your funds</h2>
Expand All @@ -77,11 +81,22 @@ import Component from 'vue-class-component'
import Links from '@/components/Links.vue'
import { chain } from '@/api/core'
import { ChainInfo } from '@/plugins/Web3/constants/chains'
import { formatAmount } from '@/utils/amounts'
@Component({ components: { Links } })
export default class AboutRecipients extends Vue {
get chain(): ChainInfo {
return chain
}
get depositAmount(): string {
return this.$store.state.recipientRegistryInfo
? formatAmount(this.$store.state.recipientRegistryInfo.deposit, 18)
: '...'
}
get depositToken(): string {
return this.$store.state.recipientRegistryInfo?.depositToken ?? ''
}
}
</script>

0 comments on commit a367d69

Please sign in to comment.