Skip to content

Commit

Permalink
update contract address (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiguantong authored Apr 23, 2024
1 parent 421b662 commit 8b12f57
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions ponder.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export default createConfig({
// === V2
ORMPV2: {
abi: ORMPAbiV2,
address: "0xa30daF3c6071361960aF29e52C1eC860a037886f",
address: "0x9BEc71b9C646653C6C73Af8D4B7E5f84a5420005",
network: {
// testnets
pangolin: {
Expand All @@ -118,7 +118,7 @@ export default createConfig({
},
tron_shasta: {
startBlock: 42281878,
address: "0x4a7C839b0a32c90ad3b397875df73B905b1Bf0CA", // TGm4AeM42R9ocbbN3ibrDtf5kkQVTTFMYS
address: "0x13c991C5BEf30c0E8600D95B8554B4DeDa4853b8", // TBmqJzYEQXJLBU4ycvMLPuqxMfEkVMeDQ8
},
// mainnets
},
Expand Down
7 changes: 3 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import { ponder } from "@/generated";

// todo update
const listenRelayer = ["0xA3B91e8Eb30825632Ca001a0a7c5839386ab838D"];
const listenOracle = ["0x0503c037719d7b39402a3ee9AA60b7ed604BB1f7"];
const listenSignature = ["0xa30daF3c6071361960aF29e52C1eC860a037886f"];
const listenRelayer = ["0x8D203c1B5190b69048e1a03bB89C5B4E511DB246"];
const listenOracle = ["0xE80Cb57F95f9279C9C3b365B940dE235883D1002"];
const listenSignature = ["0x9BEc71b9C646653C6C73Af8D4B7E5f84a5420005"];

ponder.on("ORMPV2:MessageAccepted", async ({ event, context }) => {
const { MessageAcceptedV2 } = context.db;
Expand Down

0 comments on commit 8b12f57

Please sign in to comment.