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
{"token":[{ | |
"bridge_type": "omni", | |
"foreign_address": "0x6810e776880C02933D47DB1b9fc05908e5386b96", | |
"origin_chain_id": "1", | |
"address": "0x9C58BAcC331c9aa871AFD802DB6379a98e80CEdb", | |
"decimals": "18", | |
"symbol": "GNO" | |
}, | |
{ | |
"bridge_type": "omni", |
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 { createChainConfig, createChainForkConfig } from "@lodestar/config"; | |
import { mainnetChainConfig } from "@lodestar/config/networks"; | |
const _targetSlot = 11698097; // slot after Pectra | |
const rootPath = ["block_roots"]; | |
const forkConfig = createChainForkConfig(createChainConfig(mainnetChainConfig)); | |
const BLOCK_ROOTS_INDEX = forkConfig | |
.getForkTypes(_targetSlot) |
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 { | |
createPublicClient, | |
createWalletClient, | |
http, | |
parseAbiItem, | |
decodeEventLog, | |
} from "viem"; | |
import { privateKeyToAccount } from "viem/accounts"; | |
import { gnosis, mainnet } from "viem/chains"; |
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 { | |
createClient, | |
getClient, | |
convertViemChainToRelayChain, | |
MAINNET_RELAY_API, | |
adaptViemWallet, | |
} from "@reservoir0x/relay-sdk"; | |
import { createWalletClient, http, parseUnits, publicActions } from "viem"; | |
import { arbitrum, base } from "viem/chains"; | |
import { privateKeyToAccount } from "viem/accounts"; |
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 { http, createWalletClient, parseAbiItem, publicActions } from "viem"; | |
import { gnosis, sepolia } from "viem/chains"; | |
import { privateKeyToAccount } from "viem/accounts"; | |
const main = async () => { | |
console.log("Start event listener"); | |
// Configuration | |
const sourceChain = sepolia; | |
const destinationChain = gnosis; |
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 { http, createWalletClient, parseAbiItem, publicActions } from "viem"; | |
import { gnosisChiado, sepolia } from "viem/chains"; | |
import { privateKeyToAccount } from "viem/accounts"; | |
const main = async () => { | |
console.log("Start event listener"); | |
// Configuration | |
const sourceChain = sepolia; | |
const destinationChain = gnosisChiado; |
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
require("log-timestamp"); | |
import { HyperClient, MessageStatusWithMeta } from "@polytope-labs/hyperclient"; | |
import { config } from "dotenv"; | |
import { | |
createPublicClient, | |
createWalletClient, | |
decodeFunctionData, | |
getContract, | |
http, |
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
pragma solidity 0.5.10; | |
interface IValidatorSetAuRa { | |
function addPool(address, address) external returns(uint256); | |
function initialize( | |
address, | |
address, | |
address, | |
address[] calldata, |
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
pragma solidity 0.5.10; | |
interface IValidatorSetAuRa { | |
function addPool(address, address) external returns(uint256); | |
function initialize( | |
address, | |
address, | |
address, | |
address[] calldata, |
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
{ | |
"@context": [ | |
{ | |
"@protected": true, | |
"@version": 1.1, | |
"id": "@id", | |
"type": "@type", | |
"EmploymentProof": { | |
"@context": { | |
"@propagate": true, |
NewerOlder