-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a8ffb3b
commit 9d0968c
Showing
8 changed files
with
69 additions
and
6 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
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 @@ | ||
birim/blog/mina-berkeley.birim: build/birim/paralar/MINA.webp |
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,12 @@ | ||
.blpc.mina { | ||
border: 2px solid #979bed | ||
} | ||
|
||
.blpi.mina { | ||
background-color: #f5f5fd; | ||
} | ||
|
||
.bltur { | ||
color: #ff603b; | ||
background-color: #ffdfd8 | ||
} |
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,19 @@ | ||
<a data-set-href="href" data-set-en-href="en-href" class="blp"> | ||
<div> | ||
<h4 data-en="Mina Berkeley upgrade">Mina Berkeley güncellemesi</h4> | ||
<birim:blog:yazar data-ad="KimlikDAO öğren & kazan" data-ad-en="KimlikDAO learn & earn" /> | ||
<div class="bly" data-en="Mina Berkeley mainnet upgrade news."> | ||
Mina Berkeley güncellemesi nedir? | ||
</div> | ||
</div> | ||
<div class="blf"> | ||
<button class="bloku bltur" data-en="Read">Oku</button> | ||
<div class="blpc mina"> | ||
<div class="blpi mina" style="width:180px"></div> | ||
<div class="blpit"> | ||
<img src="/birim/paralar/MINA.png" width="22" height="22" />  | ||
<span id="blmb" data-en="5,000">5.000</span>/<span data-phantom data-en="5,000">5.000</span> MINA</span> | ||
</div> | ||
</div> | ||
</div> | ||
</a> |
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,30 @@ | ||
import { AÄŸBilgileri } from "/birim/aÄŸlar/birim"; | ||
import jsonrpc from "/lib/api/jsonrpc"; | ||
import { ChainId } from "/lib/crosschain/chains"; | ||
import { address } from "/lib/ethereum/provider"; | ||
import dom from "/lib/util/dom"; | ||
|
||
/** @const {string} */ | ||
const DEV_FUND = "0x79883D9aCBc4aBac6d2d216693F66FcC5A0BcBC1".toLowerCase(); | ||
/** @const {string} */ | ||
const ODUL = "0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9" | ||
/** @const {!Element} */ | ||
const RemainingBar = dom.adla("blmb"); | ||
|
||
/** | ||
* USDT contract address on Arbitrum One. | ||
* | ||
* @const {string} | ||
*/ | ||
const USDT_ARB = "0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9"; | ||
|
||
jsonrpc.call("https://" + AÄŸBilgileri[ChainId.xa4b1].rpcUrl, "eth_call", [ | ||
/** @type {!eth.Transaction} */({ | ||
to: USDT_ARB, | ||
data: "0xdd62ed3e" + address(DEV_FUND) + address(ODUL) | ||
}), "latest" | ||
]).then((izin) => { | ||
const kalan = parseInt(izin.slice(-36), 16); | ||
RemainingBar.innerText = kalan; | ||
RemainingBar.parentElement.previousElementSibling.style.width = kalan * 180 / 5000 + "px"; | ||
}); |
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
Submodule lib
updated
11 files
+1 −0 | .gitignore | |
+2 −1 | Makefile | |
+14 −46 | ethereum/evm/batchSend.js | |
+2 −2 | ethereum/evm/examples/batchSend.js | |
+106 −41 | ethereum/evm/opcodes.js | |
+67 −0 | ethereum/evm/proxies.js | |
+36 −0 | ethereum/evm/test/Makefile | |
+35 −0 | ethereum/evm/test/proxies.compiled-test.js | |
+43 −0 | ethereum/evm/test/types.compiled-test.js | |
+127 −0 | ethereum/evm/types.js | |
+1 −0 | package.json |