-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add VRFOwner contract support to VRF V2 Super Script (#11414)
* Deploy VRFOwner contract and transfer ownership of coordinator * Minor changes * Execute vrfOwner.SetAuthorizedSenders for all sending keys --------- Co-authored-by: Ilja Pavlovs <[email protected]>
- Loading branch information
1 parent
0ae8279
commit 3a58f94
Showing
3 changed files
with
55 additions
and
8 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
package common | ||
|
||
const ( | ||
ArbitrumGoerliChainID int64 = 421613 | ||
ArbitrumOneChainID int64 = 42161 | ||
ArbitrumGoerliChainID int64 = 421613 | ||
ArbitrumOneChainID int64 = 42161 | ||
ArbitrumSepoliaChainID int64 = 421614 | ||
) | ||
|
||
// IsArbitrumChainID returns true if and only if the given chain ID corresponds | ||
// to an Arbitrum chain (testnet or mainnet). | ||
func IsArbitrumChainID(chainID int64) bool { | ||
return chainID == ArbitrumGoerliChainID || chainID == ArbitrumOneChainID | ||
return chainID == ArbitrumGoerliChainID || chainID == ArbitrumOneChainID || chainID == ArbitrumSepoliaChainID | ||
} |
This file contains 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
This file contains 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