Skip to content

Commit

Permalink
contracts: goerli ens, stickers, stt
Browse files Browse the repository at this point in the history
  • Loading branch information
churik committed Jul 14, 2022
1 parent 35c4001 commit e9cf09d
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 1 deletion.
1 change: 1 addition & 0 deletions contracts/registrar/address.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ var errorNotAvailableOnChainID = errors.New("not available for chainID")
var contractAddressByChainID = map[uint64]common.Address{
1: common.HexToAddress("0xDB5ac1a559b02E12F29fC0eC0e37Be8E046DEF49"), // mainnet
3: common.HexToAddress("0xdaae165beb8c06e0b7613168138ebba774aff071"), // ropsten
5: common.HexToAddress("0xD1f7416F91E7Eb93dD96A61F12FC092aD6B67B11"), //goerli
}

func ContractAddress(chainID uint64) (common.Address, error) {
Expand Down
1 change: 1 addition & 0 deletions contracts/resolver/address.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ var errorNotAvailableOnChainID = errors.New("not available for chainID")
var contractAddressByChainID = map[uint64]common.Address{
1: common.HexToAddress("0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"), // mainnet
3: common.HexToAddress("0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"), // ropsten
5: common.HexToAddress("0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"), // goerli
}

func ContractAddress(chainID uint64) (common.Address, error) {
Expand Down
1 change: 1 addition & 0 deletions contracts/snt/address.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ var errorNotAvailableOnChainID = errors.New("not available for chainID")
var contractAddressByChainID = map[uint64]common.Address{
1: common.HexToAddress("0x744d70fdbe2ba4cf95131626614a1763df805b9e"), // mainnet
3: common.HexToAddress("0xc55cf4b03948d7ebc8b9e8bad92643703811d162"), // ropsten
5: common.HexToAddress("0x3d6afaa395c31fcd391fe3d562e75fe9e8ec7e6a"), // goerli
}

func ContractAddress(chainID uint64) (common.Address, error) {
Expand Down
3 changes: 3 additions & 0 deletions contracts/stickers/address.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,19 @@ var errorNotAvailableOnChainID = errors.New("not available for chainID")
var stickerTypeByChainID = map[uint64]common.Address{
1: common.HexToAddress("0x0577215622f43a39f4bc9640806dfea9b10d2a36"), // mainnet
3: common.HexToAddress("0x8cc272396be7583c65bee82cd7b743c69a87287d"), // ropsten
5: common.HexToAddress("0x07f7CB0C0a4ab3e0999AfE8b3997Da34880f05d0"), // goerli testnet
}

var stickerMarketByChainID = map[uint64]common.Address{
1: common.HexToAddress("0x12824271339304d3a9f7e096e62a2a7e73b4a7e7"), // mainnet
3: common.HexToAddress("0x6CC7274aF9cE9572d22DFD8545Fb8c9C9Bcb48AD"), // ropsten
5: common.HexToAddress("0xf1E149A7DF70D5Ff1E265daAa738d785D3274717"), // goerli testnet
}

var stickerPackByChainID = map[uint64]common.Address{
1: common.HexToAddress("0x110101156e8F0743948B2A61aFcf3994A8Fb172e"), // mainnet
3: common.HexToAddress("0xf852198d0385c4b871e0b91804ecd47c6ba97351"), // ropsten
5: common.HexToAddress("0x8D3fD2EA24bD53a8Bd2b1026727db8bbe9A8C8Af"), // goerli testnet
}

func StickerTypeContractAddress(chainID uint64) (common.Address, error) {
Expand Down
10 changes: 9 additions & 1 deletion services/wallet/tokenstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -1423,7 +1423,7 @@ var tokenStore = map[uint64]map[common.Address]*Token{
Color: "#f8f8f8",
Decimals: 18,
ChainID: 4,
},
},
common.HexToAddress("0x7d4ccf6af2f0fdad48ee7958bcc28bdef7b732c7"): &Token{
Address: common.HexToAddress("0x7d4ccf6af2f0fdad48ee7958bcc28bdef7b732c7"),
Name: "WIBB",
Expand All @@ -1442,6 +1442,14 @@ var tokenStore = map[uint64]map[common.Address]*Token{
},
},
5: {
common.HexToAddress("0x3d6afaa395c31fcd391fe3d562e75fe9e8ec7e6a"): &Token{
Address: common.HexToAddress("0x3d6afaa395c31fcd391fe3d562e75fe9e8ec7e6a"),
Name: "Status Test Token",
Symbol: "STT",
Color: "#f8f8f8",
Decimals: 18,
ChainID: 5,
},
common.HexToAddress("0x022e292b44b5a146f2e8ee36ff44d3dd863c915c"): &Token{
Address: common.HexToAddress("0x022e292b44b5a146f2e8ee36ff44d3dd863c915c"),
Name: "Xeenus 💪",
Expand Down

0 comments on commit e9cf09d

Please sign in to comment.