-
-
Notifications
You must be signed in to change notification settings - Fork 775
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(binance): integrate BUSD for bounties and hackathons 2 #8213
Merged
Merged
Changes from 16 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
d928c91
feat: include BUSD case in bounty detail
chibie 3398231
process BUSD token transfer
chibie 2270027
refactor utils + token balance checks
chibie baabd16
litte refactor
chibie f58fb0f
Merge branch 'master' into feat/busd-integration
chibie 33f33f4
use only jsonRpcRequest util
chibie 20abed5
fix: amount comparison for insufficient balance
chibie 43dc448
add util to get selected account
chibie 18027e0
use only getSelectedAccount util
chibie 2e4bec3
autofill funderAddress with selected account
chibie a95fa26
Merge branch 'master' into feat/busd-integration
chibie d60f08e
Remove broken CDN import
amustapha 89d0e31
Fix variable duplicatino
amustapha 46514ff
Merge branch 'feat/busd-integration' of github.com:gitcoinco/web into…
amustapha 40fb458
feat: add busd to hackathon bounty
chibie 3673e0f
fix: pass contract address to getAddressTokenBalance
chibie cca22cd
Merge branch 'master' into feat/busd-integration
chibie 4aa5ef9
fix bug in binance sync tx
chibie 5bc5a19
remove failing import
chibie b844046
fix address bug
chibie ca968b0
Merge branch 'master' into feat/busd-integration
thelostone-mc e56554f
Merge branch 'master' into feat/busd-integration
chibie File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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 |
---|---|---|
|
@@ -420,7 +420,7 @@ <h1 class="text-center">Fund Issue</h1> | |
</div> | ||
</div> | ||
|
||
<div class="funder-address-container mt-4" v-show="chainId !== '1'"> | ||
<div class="funder-address-container mt-4" v-show="chainId !== '1' && chainId !== '56'"> | ||
<label class="font-caption letter-spacing text-black-60 text-uppercase" for="funderAddress">Funder Address</label> | ||
<input name="funderAddress" id="funderAddress" class="form__input" type="text" placeholder="Address with which the bounty will be paid out" v-model="form.funderAddress"> | ||
<div class="text-danger" v-if="errors.funderAddress && (!form.funderAddress || chainId === '0')"> | ||
|
@@ -732,7 +732,6 @@ <h5 class="text-uppercase h3 font-weight-bold mb-0">Total</h5> | |
<script src="{% static "v2/js/lib/polkadot/extension.min.js" %}"></script> | ||
<script src="{% static "v2/js/lib/polkadot/utils.js" %}"></script> | ||
|
||
<script src="https://cdn.jsdelivr.net/npm/@binance-chain/[email protected]/lib/index.min.js"></script> | ||
<script src="{% static "v2/js/lib/binance/utils.js" %}"></script> | ||
|
||
<script> | ||
|
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 |
---|---|---|
|
@@ -438,7 +438,7 @@ <h1 class="text-center">Fund Prize</h1> | |
</div> | ||
</div> | ||
|
||
<div class="funder-address-container" v-show="chainId !== '1'"> | ||
<div class="funder-address-container" v-show="chainId !== '1' && chainId !== '56'"> | ||
<label class="font-caption letter-spacing text-black-60" for="funderAddress">Funder Address</label> | ||
<input name="funderAddress" id="funderAddress" class="form__input" type="text" placeholder="Address with which the bounty will be paid out" v-model="form.funderAddress"> | ||
<div class="text-danger" v-if="errors.funderAddress && !form.funderAddress"> | ||
|
@@ -515,6 +515,9 @@ <h5 class="text-uppercase h3 font-weight-bold mb-0">Total</h5> | |
<script src="{% static "v2/js/lib/polkadot/extension.min.js" %}"></script> | ||
<script src="{% static "v2/js/lib/polkadot/utils.js" %}"></script> | ||
|
||
<script src="https://cdn.jsdelivr.net/npm/@binance-chain/[email protected]/lib/index.min.js"></script> | ||
<script src="{% static "v2/js/lib/binance/utils.js" %}"></script> | ||
|
||
<script> | ||
$('body').bootstrapTooltip({ | ||
selector: '[data-toggle="tooltip"]' | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This import fails, always.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should i take it out?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done!