Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gh 1495 create nba markets on mumbai #1496

Merged
merged 2 commits into from
Oct 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions packages/chainlink/docker/jobs_creator/templates/nba-create.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name": "Augur | NBA Market Creation - ${NBA_MARKET_FACTORY}",
"initiators": [
{
"type": "web"
}
],
"tasks": [
{
"type": "augur-adapter",
"params": {
"sport": "nba",
"method": "create",
"startBuffer": 86400,
"affiliateIds": [
9,
3
],
"daysInAdvance": 7,
"contractAddress": "${NBA_MARKET_FACTORY}"
}
}
]
}
24 changes: 24 additions & 0 deletions packages/chainlink/docker/jobs_creator/templates/nba-resolve.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name": "Augur | NBA Market Resolution - ${NBA_MARKET_FACTORY}",
"initiators": [
{
"type": "web"
}
],
"tasks": [
{
"type": "augur-adapter",
"params": {
"sport": "nba",
"method": "resolve",
"startBuffer": 86400,
"affiliateIds": [
9,
3
],
"daysInAdvance": 7,
"contractAddress": "${NBA_MARKET_FACTORY}"
}
}
]
}
195 changes: 128 additions & 67 deletions packages/smart/addresses.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// This file is updated by deployer.
import { AddressMapping } from "./constants";

export const addresses: AddressMapping = {
31337: {
reputationToken: "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512",
Expand Down Expand Up @@ -52,150 +53,210 @@ export const addresses: AddressMapping = {
],
info: { uploadBlockNumber: 1, graphName: "" },
},
80001: {
reputationToken: "0x1A921b8a13372Cc81A415d02627756b5418a71c9",
balancerFactory: "0xE152327f9700F1733d12e7a507045FB4A4606C6F",
137: {
reputationToken: "0x435C88888388D73BD97dab3B3EE1773B084E0cdd",
balancerFactory: "0x3eC09e2A4699951179B61c03434636746aBE61AA",
marketFactories: [
{
type: "MLB",
subtype: "V3",
address: "0x930fdaC8CBeC4279401a2bf864eeeaa85c00123D",
collateral: "0x5799bFe361BEea69f808328FF4884DF92f1f66f0",
ammFactory: "0xDcf4173FC3947bC2CbAB929559b7f38Cb25Bef34",
fetcher: "0x1FC98ecB4DbA35822A7efbdE238BB58FFb0f36BE",
address: "0x03810440953e2BCd2F17a63706a4C8325e0aBf94",
collateral: "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
ammFactory: "0x79C3CF0553B6852890E8BA58878a5bCa8b06d90C",
fetcher: "0xcfcF4EF9A35460345D6efC7D01993644Dbcd4273",
hasRewards: true,
masterChef: "0xa976cb47C216Ee71089b10383bDEa4e230551458",
masterChef: "0x1486AE5344C0239d5Ec6198047a33454c25E1ffD",
description: "mlb",
version: "FILL THIS OUT",
version: "v1.4.0",
},
{
type: "NBA",
subtype: "V3",
address: "0x9A45627C8479D8dA6F270067C5451BcdaC477Aa0",
address: "0xe696B8fa35e487c3A02c2444777c7a2EF6cd0297",
collateral: "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
ammFactory: "0x79C3CF0553B6852890E8BA58878a5bCa8b06d90C",
fetcher: "0xcfcF4EF9A35460345D6efC7D01993644Dbcd4273",
hasRewards: true,
masterChef: "0x1486AE5344C0239d5Ec6198047a33454c25E1ffD",
description: "nba",
version: "1.4.0",
},
{
type: "NFL",
subtype: "V3",
address: "0x1f3eF7cA2b2ca07a397e7BC1bEb8c3cffc57E95a",
collateral: "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
ammFactory: "0x79C3CF0553B6852890E8BA58878a5bCa8b06d90C",
fetcher: "0xcfcF4EF9A35460345D6efC7D01993644Dbcd4273",
hasRewards: true,
masterChef: "0x1486AE5344C0239d5Ec6198047a33454c25E1ffD",
description: "nfl",
version: "1.4.0",
},
{
type: "MMA",
subtype: "V3",
address: "0x6D2e53d53aEc521dec3d53C533E6c6E60444c655",
collateral: "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
ammFactory: "0x79C3CF0553B6852890E8BA58878a5bCa8b06d90C",
fetcher: "0xcfcF4EF9A35460345D6efC7D01993644Dbcd4273",
hasRewards: true,
masterChef: "0x1486AE5344C0239d5Ec6198047a33454c25E1ffD",
description: "mma/ufc",
version: "1.4.0",
},
{
type: "Crypto",
subtype: "V3",
address: "0x48725baC1C27C2DaF5eD7Df22D6A9d781053Fec1",
collateral: "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
ammFactory: "0x79C3CF0553B6852890E8BA58878a5bCa8b06d90C",
fetcher: "0x0C68954eCB79C80868cd34aE12e0C2cC8E1Cc430",
hasRewards: true,
masterChef: "0x1486AE5344C0239d5Ec6198047a33454c25E1ffD",
description: "crypto prices",
version: "1.4.0",
},
],
info: { uploadBlockNumber: 15336699, graphName: "matic" },
},
80001: {
reputationToken: "0x1A921b8a13372Cc81A415d02627756b5418a71c9",
balancerFactory: "0xE152327f9700F1733d12e7a507045FB4A4606C6F",
marketFactories: [
{
type: "Grouped",
subtype: "V3",
address: "0xC844a28C66E0796321351a262cB87A5da5D3d8fa",
collateral: "0x5799bFe361BEea69f808328FF4884DF92f1f66f0",
ammFactory: "0xDcf4173FC3947bC2CbAB929559b7f38Cb25Bef34",
fetcher: "0x1FC98ecB4DbA35822A7efbdE238BB58FFb0f36BE",
fetcher: "0xDB1FDD47b2dDc7d98698e8248202A56FCB7De53B",
hasRewards: true,
masterChef: "0xa976cb47C216Ee71089b10383bDEa4e230551458",
description: "nba",
description: "grouped",
version: "FILL THIS OUT",
},
{
type: "NFL",
type: "MLB",
subtype: "V3",
address: "0x51266210260d7d68Defdbf0D7D52378B66807570",
address: "0xaa7156a7B4d9590220D59e219B900FfDa52F6153",
collateral: "0x5799bFe361BEea69f808328FF4884DF92f1f66f0",
ammFactory: "0xDcf4173FC3947bC2CbAB929559b7f38Cb25Bef34",
fetcher: "0x1FC98ecB4DbA35822A7efbdE238BB58FFb0f36BE",
fetcher: "0xe5708a8D1980dB451e9d8059BD20D1BEb6A0a688",
hasRewards: true,
masterChef: "0xa976cb47C216Ee71089b10383bDEa4e230551458",
description: "nfl",
description: "mlb",
version: "FILL THIS OUT",
},
{
type: "MMA",
type: "NBA",
subtype: "V3",
address: "0xEB9FfEd2fef65576577cD88d62E557e364225a1f",
address: "0xedf8f21CD357Fb3B51dfc9bAc227a678344956CE",
collateral: "0x5799bFe361BEea69f808328FF4884DF92f1f66f0",
ammFactory: "0xDcf4173FC3947bC2CbAB929559b7f38Cb25Bef34",
fetcher: "0x1FC98ecB4DbA35822A7efbdE238BB58FFb0f36BE",
fetcher: "0xe5708a8D1980dB451e9d8059BD20D1BEb6A0a688",
hasRewards: true,
masterChef: "0xa976cb47C216Ee71089b10383bDEa4e230551458",
description: "mma/ufc",
description: "nba",
version: "FILL THIS OUT",
},
{
type: "Grouped",
type: "NFL",
subtype: "V3",
address: "0xCd5b1d5EB5944dC7497dC37f68E406f3A5aB4178",
address: "0xaf2ed373E031bA5c9Ad10E4686e1F5C1074639D2",
collateral: "0x5799bFe361BEea69f808328FF4884DF92f1f66f0",
ammFactory: "0xDcf4173FC3947bC2CbAB929559b7f38Cb25Bef34",
fetcher: "0xEBC839dA45b1045bE3b02912714d55F592575157",
fetcher: "0xe5708a8D1980dB451e9d8059BD20D1BEb6A0a688",
hasRewards: true,
masterChef: "0xa976cb47C216Ee71089b10383bDEa4e230551458",
description: "grouped",
description: "nfl",
version: "FILL THIS OUT",
},
{
type: "CryptoCurrency",
type: "MMA",
subtype: "V3",
address: "0x6B12716B875320Dd7c6fC1161639f93a088091B7",
address: "0x9213E2Ce5D0Eb030Aaccce61685e0453a8426947",
collateral: "0x5799bFe361BEea69f808328FF4884DF92f1f66f0",
ammFactory: "0xDcf4173FC3947bC2CbAB929559b7f38Cb25Bef34",
fetcher: "0x4D32E966a79bFB049Fc48655e6Ae8785ed34e44f",
fetcher: "0xe5708a8D1980dB451e9d8059BD20D1BEb6A0a688",
hasRewards: true,
masterChef: "0xa976cb47C216Ee71089b10383bDEa4e230551458",
description: "crypto prices",
description: "mma/ufc",
version: "FILL THIS OUT",
},
],
info: { uploadBlockNumber: 15336699, graphName: "mumbai" },
},
137: {
reputationToken: "0x435C88888388D73BD97dab3B3EE1773B084E0cdd",
balancerFactory: "0x3eC09e2A4699951179B61c03434636746aBE61AA",
marketFactories: [
{
type: "MLB",
subtype: "V3",
address: "0x03810440953e2BCd2F17a63706a4C8325e0aBf94",
collateral: "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
ammFactory: "0x79C3CF0553B6852890E8BA58878a5bCa8b06d90C",
fetcher: "0xcfcF4EF9A35460345D6efC7D01993644Dbcd4273",
address: "0x930fdaC8CBeC4279401a2bf864eeeaa85c00123D",
collateral: "0x5799bFe361BEea69f808328FF4884DF92f1f66f0",
ammFactory: "0xDcf4173FC3947bC2CbAB929559b7f38Cb25Bef34",
fetcher: "0x1FC98ecB4DbA35822A7efbdE238BB58FFb0f36BE",
hasRewards: true,
masterChef: "0x1486AE5344C0239d5Ec6198047a33454c25E1ffD",
masterChef: "0xa976cb47C216Ee71089b10383bDEa4e230551458",
description: "mlb",
version: "v1.4.0",
version: "FILL THIS OUT",
},
{
type: "NBA",
subtype: "V3",
address: "0xe696B8fa35e487c3A02c2444777c7a2EF6cd0297",
collateral: "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
ammFactory: "0x79C3CF0553B6852890E8BA58878a5bCa8b06d90C",
fetcher: "0xcfcF4EF9A35460345D6efC7D01993644Dbcd4273",
address: "0x9A45627C8479D8dA6F270067C5451BcdaC477Aa0",
collateral: "0x5799bFe361BEea69f808328FF4884DF92f1f66f0",
ammFactory: "0xDcf4173FC3947bC2CbAB929559b7f38Cb25Bef34",
fetcher: "0x1FC98ecB4DbA35822A7efbdE238BB58FFb0f36BE",
hasRewards: true,
masterChef: "0x1486AE5344C0239d5Ec6198047a33454c25E1ffD",
masterChef: "0xa976cb47C216Ee71089b10383bDEa4e230551458",
description: "nba",
version: "1.4.0",
version: "FILL THIS OUT",
},
{
type: "NFL",
subtype: "V3",
address: "0x1f3eF7cA2b2ca07a397e7BC1bEb8c3cffc57E95a",
collateral: "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
ammFactory: "0x79C3CF0553B6852890E8BA58878a5bCa8b06d90C",
fetcher: "0xcfcF4EF9A35460345D6efC7D01993644Dbcd4273",
address: "0x51266210260d7d68Defdbf0D7D52378B66807570",
collateral: "0x5799bFe361BEea69f808328FF4884DF92f1f66f0",
ammFactory: "0xDcf4173FC3947bC2CbAB929559b7f38Cb25Bef34",
fetcher: "0x1FC98ecB4DbA35822A7efbdE238BB58FFb0f36BE",
hasRewards: true,
masterChef: "0x1486AE5344C0239d5Ec6198047a33454c25E1ffD",
masterChef: "0xa976cb47C216Ee71089b10383bDEa4e230551458",
description: "nfl",
version: "1.4.0",
version: "FILL THIS OUT",
},
{
type: "MMA",
subtype: "V3",
address: "0x6D2e53d53aEc521dec3d53C533E6c6E60444c655",
collateral: "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
ammFactory: "0x79C3CF0553B6852890E8BA58878a5bCa8b06d90C",
fetcher: "0xcfcF4EF9A35460345D6efC7D01993644Dbcd4273",
address: "0xEB9FfEd2fef65576577cD88d62E557e364225a1f",
collateral: "0x5799bFe361BEea69f808328FF4884DF92f1f66f0",
ammFactory: "0xDcf4173FC3947bC2CbAB929559b7f38Cb25Bef34",
fetcher: "0x1FC98ecB4DbA35822A7efbdE238BB58FFb0f36BE",
hasRewards: true,
masterChef: "0x1486AE5344C0239d5Ec6198047a33454c25E1ffD",
masterChef: "0xa976cb47C216Ee71089b10383bDEa4e230551458",
description: "mma/ufc",
version: "1.4.0",
version: "FILL THIS OUT",
},
{
type: "Crypto",
type: "Grouped",
subtype: "V3",
address: "0x48725baC1C27C2DaF5eD7Df22D6A9d781053Fec1",
collateral: "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
ammFactory: "0x79C3CF0553B6852890E8BA58878a5bCa8b06d90C",
fetcher: "0x0C68954eCB79C80868cd34aE12e0C2cC8E1Cc430",
address: "0xCd5b1d5EB5944dC7497dC37f68E406f3A5aB4178",
collateral: "0x5799bFe361BEea69f808328FF4884DF92f1f66f0",
ammFactory: "0xDcf4173FC3947bC2CbAB929559b7f38Cb25Bef34",
fetcher: "0xEBC839dA45b1045bE3b02912714d55F592575157",
hasRewards: true,
masterChef: "0x1486AE5344C0239d5Ec6198047a33454c25E1ffD",
masterChef: "0xa976cb47C216Ee71089b10383bDEa4e230551458",
description: "grouped",
version: "FILL THIS OUT",
},
{
type: "CryptoCurrency",
subtype: "V3",
address: "0x6B12716B875320Dd7c6fC1161639f93a088091B7",
collateral: "0x5799bFe361BEea69f808328FF4884DF92f1f66f0",
ammFactory: "0xDcf4173FC3947bC2CbAB929559b7f38Cb25Bef34",
fetcher: "0xdA65A1f9c322384F743C474040283897cDcE8cC5",
hasRewards: true,
masterChef: "0xa976cb47C216Ee71089b10383bDEa4e230551458",
description: "crypto prices",
version: "1.4.0",
version: "FILL THIS OUT",
},
],
info: { uploadBlockNumber: 15336699, graphName: "matic" },
info: { uploadBlockNumber: 15336699, graphName: "mumbai" },
},
};
36 changes: 18 additions & 18 deletions packages/smart/deployments/maticMumbai/CryptoCurrencyFetcher.json

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions packages/smart/deployments/maticMumbai/GroupedFetcher.json

Large diffs are not rendered by default.

Loading