Skip to content

Commit

Permalink
Add config settings for Arbitrum
Browse files Browse the repository at this point in the history
  • Loading branch information
Agustin Godnic committed Jul 25, 2023
1 parent 2a05689 commit af5724d
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
16 changes: 16 additions & 0 deletions contract-watcher/config/mainnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -304,3 +304,19 @@ var CELO_MAINNET = WatcherBlockchainAddresses{
},
},
}

var ARBITRUM_MAINNET = WatcherBlockchainAddresses{
ChainID: vaa.ChainIDArbitrum,
Name: "arbitrum",
SizeBlocks: 100,
WaitSeconds: 10,
InitialBlock: 75_577_070,
MethodsByAddress: map[string][]BlockchainMethod{
strings.ToLower("0x1293a54e160D1cd7075487898d65266081A15458"): {
{
ID: MethodIDReceiveTbtc,
Name: MethodReceiveTbtc,
},
},
},
}
16 changes: 16 additions & 0 deletions contract-watcher/config/testnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -295,3 +295,19 @@ var CELO_TESTNET = WatcherBlockchainAddresses{
},
},
}

var ARBITRUM_TESTNET = WatcherBlockchainAddresses{
ChainID: vaa.ChainIDArbitrum,
Name: "arbitrum_goerli",
SizeBlocks: 100,
WaitSeconds: 10,
InitialBlock: 15_470_418,
MethodsByAddress: map[string][]BlockchainMethod{
strings.ToLower("0xe3e0511EEbD87F08FbaE4486419cb5dFB06e1343"): {
{
ID: MethodIDReceiveTbtc,
Name: MethodReceiveTbtc,
},
},
},
}

0 comments on commit af5724d

Please sign in to comment.