Skip to content

Commit

Permalink
goerli: stickermarket
Browse files Browse the repository at this point in the history
  • Loading branch information
churik committed Jul 5, 2022
1 parent 7ad0057 commit 9f7f163
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
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("0x86e5c5c884740894644dad30021aaaade2b7babd"), // 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("0x8cc272396be7583c65bee82cd7b743c69a87287d"), // goerli testnet
}

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

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

func StickerTypeContractAddress(chainID uint64) (common.Address, error) {
Expand Down
11 changes: 10 additions & 1 deletion services/wallet/tokenstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -1441,7 +1441,16 @@ var tokenStore = map[uint64]map[common.Address]*Token{
ChainID: 4,
},
},
5: {
5: {
common.HexToAddress("0x86e5c5c884740894644dad30021aaaade2b7babd"): &Token{
Address: common.HexToAddress("0x86e5c5c884740894644dad30021aaaade2b7babd"),
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 9f7f163

Please sign in to comment.