Skip to content

Commit

Permalink
Update web3.py
Browse files Browse the repository at this point in the history
  • Loading branch information
B3nac committed Jun 4, 2023
1 parent 04f4cec commit d84d766
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 11 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Poetry
poetry.lock
pyproject.toml

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
Expand Down
2 changes: 1 addition & 1 deletion app/blueprints.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

unlocked: bool = False

gas_price = network.eth.gasPrice
gas_price = network.eth.gas_price

def get_address_from_config():
if os.path.exists("config.ini"):
Expand Down
10 changes: 7 additions & 3 deletions app/static/TheLootBox.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ max-height: 500px;
max-width: 150px;
}
html {
height:100%;
width:100%;
margin:0;
height: 100%;
margin: 0;
padding: 0;
}
body {
padding-top: 50px;
Expand Down Expand Up @@ -81,6 +81,7 @@ input {
color: #FFFFFF;
pointer-events: all;
overflow: overlay;
overflow-y: scroll;
}
.account_form {
height: 55vh;
Expand All @@ -93,6 +94,7 @@ input {
color: #FFFFFF;
pointer-events: all;
overflow: overlay;
overflow-y: scroll;
}
.create_account_form {
height: 40vh;
Expand All @@ -105,6 +107,7 @@ input {
color: #FFFFFF;
pointer-events: all;
overflow: overlay;
overflow-y: scroll;
}
.footer {
position: fixed;
Expand All @@ -114,6 +117,7 @@ input {
padding-top: 20px;
background-color: #000000;
pointer-events: all;
overflow-y: scroll;
}
.img-size img {
max-width: 40px;
Expand Down
2 changes: 1 addition & 1 deletion app/templates/account.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
</li>
</ul>
<button class="btn btn-outline-success img-size"><a href="https://github.com/TheLootBox-xyz"><img src="/static/images/github.png"></a></button>
<button class="btn btn-outline-success img-size"><a href="https://discord.gg/pd4wupphDe"><img src="/static/images/Discord.png"></button>
<button class="btn btn-outline-success img-size"><a href="https://discord.gg/pd4wupphDe"><img src="/static/images/Discord.png"></a></button>
</div>
</div>
</nav>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/create.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
</li>
</ul>
<button class="btn btn-outline-success img-size"><a href="https://github.com/TheLootBox-xyz"><img src="/static/images/github.png"></a></button>
<button class="btn btn-outline-success img-size"><a href="https://discord.gg/pd4wupphDe"><img src="/static/images/Discord.png"></button>
<button class="btn btn-outline-success img-size"><a href="https://discord.gg/pd4wupphDe"><img src="/static/images/Discord.png"></a></button>
</div>
</div>
</nav>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/createlootbundle.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
</li>
</ul>
<button class="btn btn-outline-success img-size"><a href="https://github.com/TheLootBox-xyz"><img src="/static/images/github.png"></a></button>
<button class="btn btn-outline-success img-size"><a href="https://discord.gg/pd4wupphDe"><img src="/static/images/Discord.png"></button>
<button class="btn btn-outline-success img-size"><a href="https://discord.gg/pd4wupphDe"><img src="/static/images/Discord.png"></a></button>
</div>
</div>
</nav>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/send.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
</li>
</ul>
<button class="btn btn-outline-success img-size"><a href="https://github.com/TheLootBox-xyz"><img src="/static/images/github.png"></a></button>
<button class="btn btn-outline-success img-size"><a href="https://discord.gg/pd4wupphDe"><img src="/static/images/Discord.png"></button>
<button class="btn btn-outline-success img-size"><a href="https://discord.gg/pd4wupphDe"><img src="/static/images/Discord.png"></a></button>
</div>
</div>
</nav>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/transaction_data.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</li>
</ul>
<button class="btn btn-outline-success img-size"><a href="https://github.com/TheLootBox-xyz"><img src="/static/images/github.png"></a></button>
<button class="btn btn-outline-success img-size"><a href="https://discord.gg/pd4wupphDe"><img src="/static/images/Discord.png"></button>
<button class="btn btn-outline-success img-size"><a href="https://discord.gg/pd4wupphDe"><img src="/static/images/Discord.png"></a></button>
</div>
</div>
</nav>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/unlock.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</li>
</ul>
<button class="btn btn-outline-success img-size"><a href="https://github.com/TheLootBox-xyz"><img src="/static/images/github.png"></a></button>
<button class="btn btn-outline-success img-size"><a href="https://discord.gg/pd4wupphDe"><img src="/static/images/Discord.png"></button>
<button class="btn btn-outline-success img-size"><a href="https://discord.gg/pd4wupphDe"><img src="/static/images/Discord.png"></a></button>
</div>
</div>
</nav>
Expand Down
2 changes: 1 addition & 1 deletion start.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
stream = StringIO()
with redirect_stdout(stream):
window = webview.create_window('TheLootBoxWallet', app)
webview.start(debug=True)
webview.start()

0 comments on commit d84d766

Please sign in to comment.