Skip to content

Commit

Permalink
SHARD
Browse files Browse the repository at this point in the history
  • Loading branch information
shima78 committed Jan 14, 2023
1 parent d6f054f commit 8672745
Show file tree
Hide file tree
Showing 12 changed files with 1,310 additions and 2 deletions.
1 change: 1 addition & 0 deletions public/img/networks-logo/sgton.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/img/networks-logo/shard.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/pages/csc/csc.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="./dashboard.scss"?>
<templates xml:space="preserve">
<t t-name="pages.csc" owl="1">
<div class="container-lg bg-white justify-content-center align-items-center">
Expand Down
7 changes: 7 additions & 0 deletions src/pages/dashboard/dashboard.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

.btn-nav{
padding:10px;
border-radius: 3px;
background-color: blue;
color: white;
}
5 changes: 4 additions & 1 deletion src/pages/dashboard/dashboard.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="dashboard.scss"?>
<templates xml:space="preserve">

<t t-name="pages.dashboard" owl="1">
Expand Down Expand Up @@ -32,6 +33,7 @@
</div>
<br/>
<Button
class= "btn-nav"
color="'primary'"
href="'#' + page.route">Stake</Button>
</div>
Expand All @@ -42,5 +44,6 @@
<!-- Content Row -->
<div class="row"></div>
</div>

</t>
</templates>
</templates>
117 changes: 117 additions & 0 deletions src/pages/eth/abi-eth-eth.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
[
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "bytes",
"name": "pubkey",
"type": "bytes"
},
{
"indexed": false,
"internalType": "bytes",
"name": "withdrawal_credentials",
"type": "bytes"
},
{
"indexed": false,
"internalType": "bytes",
"name": "amount",
"type": "bytes"
},
{
"indexed": false,
"internalType": "bytes",
"name": "signature",
"type": "bytes"
},
{
"indexed": false,
"internalType": "bytes",
"name": "index",
"type": "bytes"
}
],
"name": "DepositEvent",
"type": "event"
},
{
"inputs": [
{
"internalType": "bytes",
"name": "pubkey",
"type": "bytes"
},
{
"internalType": "bytes",
"name": "withdrawal_credentials",
"type": "bytes"
},
{
"internalType": "bytes",
"name": "signature",
"type": "bytes"
},
{
"internalType": "bytes32",
"name": "deposit_data_root",
"type": "bytes32"
}
],
"name": "deposit",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [],
"name": "get_deposit_count",
"outputs": [
{
"internalType": "bytes",
"name": "",
"type": "bytes"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "get_deposit_root",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4"
}
],
"name": "supportsInterface",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "pure",
"type": "function"
}
]
3 changes: 2 additions & 1 deletion src/pages/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ them automatically.
import "./csc";
import "./fantom";
import "./polygon";
import "./sgton";
import "./sgton";
import "./shardeum";
Loading

0 comments on commit 8672745

Please sign in to comment.