feat: add sepolia optimism
This commit is contained in:
parent
4a7d15b36d
commit
0808b780f7
|
@ -23,6 +23,7 @@ var contractDataByChainID = map[uint64]ContractData{
|
||||||
777333: {common.HexToAddress("0x0000000000000000000000000000000000777333"), 50}, // unit tests
|
777333: {common.HexToAddress("0x0000000000000000000000000000000000777333"), 50}, // unit tests
|
||||||
11155111: {common.HexToAddress("0xec21ebe1918e8975fc0cd0c7747d318c00c0acd5"), 4_366_506}, // sepolia
|
11155111: {common.HexToAddress("0xec21ebe1918e8975fc0cd0c7747d318c00c0acd5"), 4_366_506}, // sepolia
|
||||||
421614: {common.HexToAddress("0xec21Ebe1918E8975FC0CD0c7747D318C00C0aCd5"), 553_947}, // sepolia arbitrum
|
421614: {common.HexToAddress("0xec21Ebe1918E8975FC0CD0c7747D318C00C0aCd5"), 553_947}, // sepolia arbitrum
|
||||||
|
11155420: {common.HexToAddress("0xec21ebe1918e8975fc0cd0c7747d318c00c0acd5"), 7_362_011}, // sepolia optimism
|
||||||
}
|
}
|
||||||
|
|
||||||
func ContractAddress(chainID uint64) (common.Address, error) {
|
func ContractAddress(chainID uint64) (common.Address, error) {
|
||||||
|
|
|
@ -113,7 +113,7 @@ const (
|
||||||
|
|
||||||
ProdPreferredChainIDsDefault = "1:10:42161"
|
ProdPreferredChainIDsDefault = "1:10:42161"
|
||||||
TestPreferredChainIDsDefault = "5:420:421613"
|
TestPreferredChainIDsDefault = "5:420:421613"
|
||||||
TestSepoliaPreferredChainIDsDefault = "11155111:420:421614"
|
TestSepoliaPreferredChainIDsDefault = "11155111:11155420:421614"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Returns true if an account is a wallet account that logged in user has a control over, otherwise returns false.
|
// Returns true if an account is a wallet account that logged in user has a control over, otherwise returns false.
|
||||||
|
|
|
@ -9,10 +9,9 @@ import (
|
||||||
"github.com/status-im/status-go/params"
|
"github.com/status-im/status-go/params"
|
||||||
)
|
)
|
||||||
|
|
||||||
var SepoliaChainIDs = []uint64{11155111, 421614}
|
var SepoliaChainIDs = []uint64{11155111, 421614, 11155420}
|
||||||
|
|
||||||
// GoerliChainIDs Uncomment next chain when we move more chain to sepolia
|
var GoerliChainIDs = []uint64{5, 421613, 420}
|
||||||
var GoerliChainIDs = []uint64{5, 421613} //, 420, }
|
|
||||||
|
|
||||||
type CombinedNetwork struct {
|
type CombinedNetwork struct {
|
||||||
Prod *params.Network
|
Prod *params.Network
|
||||||
|
|
|
@ -1696,6 +1696,14 @@ func newDefaultStore() *DefaultStore {
|
||||||
ChainID: 421614,
|
ChainID: 421614,
|
||||||
TokenListID: "status",
|
TokenListID: "status",
|
||||||
},
|
},
|
||||||
|
&Token{
|
||||||
|
Address: common.HexToAddress("0x44a739916D41eC0226d98F83BE5364B69078DA41"),
|
||||||
|
Name: "USD Coin",
|
||||||
|
Symbol: "USDC",
|
||||||
|
Decimals: 6,
|
||||||
|
ChainID: 11155420,
|
||||||
|
TokenListID: "status",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue