This file contains hidden or 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
// SPDX-License-Identifier: MIT | |
// LP挖矿+推荐奖励代币合约 | |
pragma solidity ^0.8.18; | |
/** | |
* @title ERC20标准接口 | |
* @dev 定义了ERC20代币的基本函数 | |
*/ | |
interface IERC20 { | |
// 返回代币的小数位数 |
This file contains hidden or 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
console.log("Realm=====================>"); | |
window.__envs = { | |
NEXT_PUBLIC_APP_PROTOCOL: "https", | |
NEXT_PUBLIC_VISUALIZE_API_HOST: "https://visualize.mud.network", | |
NEXT_PUBLIC_NETWORK_CURRENCY_DECIMALS: "18", | |
NEXT_PUBLIC_STATS_API_HOST: "https://stats.mud.network", | |
NEXT_PUBLIC_GIT_COMMIT_SHA: "7d7873d8", | |
NEXT_PUBLIC_API_WEBSOCKET_PROTOCOL: "wss", | |
NEXT_PUBLIC_NETWORK_CURRENCY_NAME: "MUD", |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
[ | |
{ | |
"address": "0x35e53d176723b7516c559634181bcead354c93f1", | |
"amount": "349976295.250246", | |
"rank": "1" | |
}, | |
{ | |
"address": "0xf1ff4342ecd100213ab3fbbdbc13ef84c77ef38a", | |
"amount": "206805498.18372", |
This file contains hidden or 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
{ | |
"name": "TESTNET MUD Tokens", | |
"logoURI": "https://www.gemini.com/static/images/loader.png", | |
"keywords": [ | |
"testnet mud" | |
], | |
"timestamp": "2024-05-29T01:40:34.305Z", | |
"tokens": [ | |
{ | |
"chainId": 168169, |
This file contains hidden or 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
import { DirectSecp256k1HdWallet, DirectSecp256k1Wallet } from '@cosmjs/proto-signing'; | |
import { SigningStargateClient } from '@cosmjs/stargate'; | |
import { fromHex } from '@cosmjs/encoding'; | |
// 大概操作 | |
// 1、请在至少在解质押结束前30秒启动脚本。没必要启动太早,启动太早如果节点做了请求限制则节点会不在接受访问请求 | |
// 2、根据你的需求修改下面的 mnemonic 以及 recipient | |
// 3、安装好node.js程序之后,执行 node axl.js脚本 | |
// 策略:每隔100ms检查到账户是否有可转移资金,一旦检测到立即发送转账交易。 |
This file contains hidden or 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
Due to my poor English, I have prepared a cheat sheet. So, I hope there won't be any unexpected situations later on. If any occur, I will switch to speak Chinese. | |
Dear leaders and colleagues: | |
I am honored to share with you that the Cosmos tool I developed has been awarded the Innovation Star by our company at this special moment. I am extremely grateful and happy for this recognition. | |
Firstly, I would like to share the purpose behind developing this tool. As a blockchain developer in our team, my intention was to provide a simple development environment for our team members, thereby enhancing our team's development efficiency. | |
Next, let me introduce the main uses of this tool. With the Cosmos tool, we can view real time information about the Cosmos blockchain, such as block details, transaction information, account details, and validator information. Of course, we can also send transactions by this tool. |
This file contains hidden or 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
{ | |
"app_hash": "", | |
"app_state": { | |
"auth": { | |
"accounts": [ | |
{ | |
"@type": "/ethermint.types.v1.EthAccount", | |
"base_account": { | |
"account_number": "1820993", | |
"address": "evmos1qqqqqqqqqqyyayt5xyj2nqs8d3vlzqyy46yd62", |
This file contains hidden or 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
{ | |
"tx":{ | |
"body":{ | |
"messages":[ | |
{ | |
"@type":"/ethermint.evm.v1.MsgEthereumTx", | |
"data":{ | |
"@type":"/ethermint.evm.v1.LegacyTx", | |
"nonce":"0", | |
"gas_price":"50000000000", |
This file contains hidden or 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
{ | |
"genesis_time": "2023-07-14T08:09:45.35884Z", | |
"chain_id": "quarix_8888888-1", | |
"initial_height": "1", | |
"consensus_params": { | |
"block": { | |
"max_bytes": "22020096", | |
"max_gas": "210000000000", | |
"time_iota_ms": "1000" | |
}, |
This file contains hidden or 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
{"_format":"hh-sol-artifact-1","contractName":"ERC1967Proxy","sourceName":"@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol","abi":[{"inputs":[{"internalType":"address","name":"_logic","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beacon","type":"address"}],"name":"BeaconUpgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"stateMutability":"payable","type":"fallback"},{"stateMutability":"payable","type":"receive"}],"bytecode":"0x60806040526040516107353803806107358339810160408190526100229161031e565b61002e82 |
NewerOlder