Skip to content

Instantly share code, notes, and snippets.

heimdallcli tx staking stake-update --block-number 12535185 --id 125 --log-index 352 --nonce 279 --staked-amount 2667543684324388533318472 --tx-hash 0x277c57b7763addbaff82308ff4c6eeaa9eab5ab6c49c2338b41e4f73c6d714a7 --chain-id heimdall-137 --sequence 126121
heimdallcli tx staking stake-update --block-number 12535229 --id 128 --log-index 55 --nonce 260 --staked-amount 5328785075270129389879005 --tx-hash 0xdf0adfaef21ddca1fc69171495960220c6a2cf98adabd6efdf9b0c497f35935b --chain-id heimdall-137 --sequence 126122
heimdallcli tx staking stake-update --block-number 12535238 --id 15 --log-index 161 --nonce 1211 --staked-amount 28828018417655351543522310 --tx-hash 0x3332a7eadecb190c36c9c069108524dfb81bf78d5ac07362515ba268de7a5c4c --chain-id heimdall-137 --sequence 126123
heimdallcli tx staking stake-update --block-number 12535239 --id 72 --log-index 360 --nonce 416 --staked-amount 117167149120719678236996091 --tx-hash 0x3dfcce72a9dcbd402b36c7e7e10f02e5209ce75605a9c941dc8defc9e394fbba --chain-id heimdall-137 --seq
heimdallcli tx clerk record --block-number 12535176 --bor-chain-id 137 --contract 0xA6FA4fB5f76172d178d61B04b0ecd319C5d1C0aa --data 0x87a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f821000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000d4bcb652f6cd34643c4611163274324bf6bb9ba1000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000008a86e626 --log-index 248 --tx-hash 0x8da033bd279a31b4b952c85b3a3f2b7267b572c9c90d5bf1d575531b38b094ae --id 273338 --chain-id heimdall-137 --sequence 125209
heimdallcli tx clerk record --block-number 12535177 --bor-chain-id 137 --contract 0xA6FA4fB5f76172d178d61B04b0ecd319C5d1C0aa --data 0x87a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f82100000000000000000000000000000000
heimdallcli tx clerk record --block-number 12535176 --bor-chain-id 137 --contract 0xA6FA4fB5f76172d178d61B04b0ecd319C5d1C0aa --data 0x87a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f821000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000d4bcb652f6cd34643c4611163274324bf6bb9ba1000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000008a86e626 --log-index 248 --tx-hash 0x8da033bd279a31b4b952c85b3a3f2b7267b572c9c90d5bf1d575531b38b094ae --id 273338 --chain-id heimdall-137 --sequence 125203
heimdallcli tx clerk record --block-number 12535177 --bor-chain-id 137 --contract 0xA6FA4fB5f76172d178d61B04b0ecd319C5d1C0aa --data 0x87a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f82100000000000000000000000000000000
heimdallcli tx clerk record --block-number 12535176 --bor-chain-id 137 --contract 0xA6FA4fB5f76172d178d61B04b0ecd319C5d1C0aa --data 0x87a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f821000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000d4bcb652f6cd34643c4611163274324bf6bb9ba1000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000008a86e626 --log-index 248 --tx-hash 0x8da033bd279a31b4b952c85b3a3f2b7267b572c9c90d5bf1d575531b38b094ae --id 273338 --chain-id heimdall-137
heimdallcli tx clerk record --block-number 12535177 --bor-chain-id 137 --contract 0xA6FA4fB5f76172d178d61B04b0ecd319C5d1C0aa --data 0x87a7811f4bfedea3d341ad165680ae306b01aaeacc205d227629cf157dd9f82100000000000000000000000000000000000000000000000000
@rahuldamodar94
rahuldamodar94 / gist:6bdd022f3457934f2a104fd5f4bb45e4
Created December 16, 2020 02:21
0x V3 deployment on Matic Testnet (Mumbai - 80001) and Matic Mainnet (137)
"80001":{
"erc20Proxy": "0x0b47076aaa5246411458fcf85494f41bbfdb8470",
"erc721Proxy": "0xff7ca10af37178bdd056628ef42fd7f799fac77c",
"erc1155Proxy": "0x53d791f18155c211ff8b58671d0f7e9b50e596ad",
"zrxToken": "0x5af2b282779c7d4ffc69ca4e6e16676747f5c56b",
"etherToken": "0x5b5e11e4818cceba3e82ca9b97cd0ab80be75ad3",
"exchange": "0x533dc89624dcc012c7323b41f286bd2df478800b",
"erc20BridgeProxy": "0x5638a4b19f121adc4436de3f0e845173b33b594c",
"forwarder": "0x6dcf02d3a963f22dbf85c4025b86a834fef16c15",
"coordinatorRegistry": "0x6f5b9e0456c4849224c7b59dc15f05c48641c4e3",
// File: @openzeppelin/contracts/GSN/Context.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
let Biconomy = require("@biconomy/mexa");
let abi = require('./testabi.json')
let Web3 = require("web3")
const biconomy = new Biconomy(window.ethereum,{apiKey: "A8U9q3qVt.66db9879-a33c-4551-98b0-7016616eb1ab"});
web3 = new Web3(biconomy);
biconomy.onEvent(biconomy.READY, async () => {
console.log("successs")
// File: contracts/common/mixin/Initializable.sol
pragma solidity ^0.5.2;
contract Initializable {
bool inited = false;
modifier initializer() {
require(!inited, "already inited");
@rahuldamodar94
rahuldamodar94 / ethscan.js
Created October 26, 2020 11:31
Balance scanner
let Web3 = require("web3");
let ethScan =require('@mycrypto/eth-scan');
// Matic balance
ethScan.getEtherBalances("https://rpc-mumbai.matic.today",["0xFd71Dc9721d9ddCF0480A582927c3dCd42f3064C"],{contractAddress: "0xa878A805F78d22126188aBa9b6D0c5E907e29459"}).then(res => {
console.log(res)
}).catch(err => {
console.log(err)
})
// Matic tokens balances
ethScan.getTokensBalance("https://rpc-mumbai.matic.today","0xFd71Dc9721d9ddCF0480A582927c3dCd42f3064C",["0xd393b1E02dA9831Ff419e22eA105aAe4c47E1253"],{contractAddress: "0xa878A805F78d22126188aBa9b6D0c5E907e29459"}).then(res => {
let Biconomy = require("@biconomy/mexa");
let abi = require('./testabi.json')
let Web3 = require("web3")
const biconomy = new Biconomy(window.ethereum,{apiKey: "QmA4kP-Eu.8f858b94-9d32-4d73-9102-13f0e6e60659"});
web3 = new Web3(biconomy);
biconomy.onEvent(biconomy.READY, async () => {
try{