Feeds
4 groups: forex, crypto, commodities and stocks
Lambda Feeds:
const priceIds = [
"0xff61491a931112ddf1bd8147cd1b641375f79f5825126d665480874634fd0ace", // ETH,
"0xe62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43", // BTC,
"0x2f95862b045670cd22bee3114c39763a4a08beeb663b145d283c31d7d1101c4f", // BNB,
"0xef0d8b6fda2ceba41da15d4095d1da392a0d2f8ed0c6c7bc0f4cfac8c280b56d", // SOL,
"0x8963217838ab4cf5cadc172203c1f0b763fbaa45f346d8ee50ba994bbcac3026", // TON,
"0xec5d399846a9209f3fe5881d70aae9268c94339ff9817e8d18ff19fa05eea1c8", // XRP,
"0x93da3352f9f1d105fdfe4971cfa80e9dd777bfc5d0f683ebb6e1294b92137bb7", // AVAX,
"0x5de33a9112c2b700b8d30b8a3402c103578ccfa2765696471cc672bd5cf6ac52", // MATIC,
"0xc415de8d2eba7db216527dff4b60e8f3a5311c740dadb233e13e12547e226750", // NEAR,
"0xca3eed9b267293f6595901c734c7525ce8ef49adafe8284606ceb307afa2ca5b", // DOT,
"0xa995d00bb36a63cef7fd2c287dc105fc8f3d93779f062f09551b0af3e81ec30b", // EUR/USD - forex
"0xef2c98c804ba503c6a707e38be4dfbb16683775f195b091252bf24693042fd52", // USD/JPY - forex
"0x765d2ba906dbc32ca17cc11f5310a89e9ee1f6420508c63861f2f8ba4ee34bb2", // XAU/USD - commodity
"0xf2fb02c32b055c805e7238d628e5e9dadef274376114eb1f012337cabe93871e", // XAG/USD - commodity
];
const priceIdsStocks = [
"0x49f6b65cb1de6b10eaf75e7c03ca029c306d0357e91b5311b175084a5ad55688", // APPL - stocks
"0x9db6bc1e6e9e5e60f6884e1cd8e4399cca9d0454c6e7234ad79680cf139748f5", // ibit
"0xd0ca23c1cc005e004ccf1db5bf76aeb6a49218f43dac3d4b275e92de12ded4d1", // MSFT
"0xe1e80251e5f5184f2195008382538e847fafc36f751896889dd3d1b1f6111f09", // MSTR
"0xfee33f2a978bf32dd6b662b65ba8083c6773b494f8401194ec1870c640860245", // COIN
"0x9f383d612ac09c7e6ffda24deca1502fce72e0ba58ff473fea411d9727401cc1", // TLT
"0x19e09bb805456ada3979a7d1cbb4b6d63babc3a0f8e8a9509f68afa5c4c11cd5", // SPY
];
pairs = [
# crypto
diamond.Pair(from_name="ETH", to="USD",
feedId="0xff61491a931112ddf1bd8147cd1b641375f79f5825126d665480874634fd0ace", spreadP=0,
groupIndex=0, feeIndex=0, altPriceOracle=False),
diamond.Pair(from_name="BTC", to="USD",
feedId="0xe62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43", spreadP=0,
groupIndex=0, feeIndex=0, altPriceOracle=False),
diamond.Pair(from_name="BNB", to="USD",
feedId="0x2f95862b045670cd22bee3114c39763a4a08beeb663b145d283c31d7d1101c4f", spreadP=0,
groupIndex=0, feeIndex=0, altPriceOracle=False),
diamond.Pair(from_name="SOL", to="USD",
feedId="0xef0d8b6fda2ceba41da15d4095d1da392a0d2f8ed0c6c7bc0f4cfac8c280b56d", spreadP=0,
groupIndex=0, feeIndex=0, altPriceOracle=False),
diamond.Pair(from_name="TON", to="USD",
feedId="0x8963217838ab4cf5cadc172203c1f0b763fbaa45f346d8ee50ba994bbcac3026", spreadP=0,
groupIndex=0, feeIndex=0, altPriceOracle=False),
diamond.Pair(from_name="XRP", to="USD",
feedId="0xec5d399846a9209f3fe5881d70aae9268c94339ff9817e8d18ff19fa05eea1c8", spreadP=0,
groupIndex=0, feeIndex=0, altPriceOracle=False),
diamond.Pair(from_name="AVAX", to="USD",
feedId="0x93da3352f9f1d105fdfe4971cfa80e9dd777bfc5d0f683ebb6e1294b92137bb7", spreadP=0,
groupIndex=0, feeIndex=0, altPriceOracle=False),
diamond.Pair(from_name="MATIC", to="USD",
feedId="0x5de33a9112c2b700b8d30b8a3402c103578ccfa2765696471cc672bd5cf6ac52", spreadP=0,
groupIndex=0, feeIndex=0, altPriceOracle=False),
diamond.Pair(from_name="NEAR", to="USD",
feedId="0xc415de8d2eba7db216527dff4b60e8f3a5311c740dadb233e13e12547e226750", spreadP=0,
groupIndex=0, feeIndex=0, altPriceOracle=False),
diamond.Pair(from_name="DOT", to="USD",
feedId="0xca3eed9b267293f6595901c734c7525ce8ef49adafe8284606ceb307afa2ca5b", spreadP=0,
groupIndex=0, feeIndex=0, altPriceOracle=False),
# stocks-1
diamond.Pair(from_name="MSFT", to="USD",
feedId="0xd0ca23c1cc005e004ccf1db5bf76aeb6a49218f43dac3d4b275e92de12ded4d1", spreadP=0,
groupIndex=1, feeIndex=1, altPriceOracle=False),
diamond.Pair(from_name="AAPL", to="USD",
feedId="0x49f6b65cb1de6b10eaf75e7c03ca029c306d0357e91b5311b175084a5ad55688", spreadP=0,
groupIndex=1, feeIndex=1, altPriceOracle=False),
diamond.Pair(from_name="IBIT", to="USD",
feedId="0x9db6bc1e6e9e5e60f6884e1cd8e4399cca9d0454c6e7234ad79680cf139748f5", spreadP=0,
groupIndex=1, feeIndex=1, altPriceOracle=False),
diamond.Pair(from_name="MSTR", to="USD",
feedId="0xe1e80251e5f5184f2195008382538e847fafc36f751896889dd3d1b1f6111f09", spreadP=0,
groupIndex=1, feeIndex=1, altPriceOracle=False),
diamond.Pair(from_name="COIN", to="USD",
feedId="0xfee33f2a978bf32dd6b662b65ba8083c6773b494f8401194ec1870c640860245", spreadP=0,
groupIndex=1, feeIndex=1, altPriceOracle=False),
diamond.Pair(from_name="TLT", to="USD",
feedId="0x9f383d612ac09c7e6ffda24deca1502fce72e0ba58ff473fea411d9727401cc1", spreadP=0,
groupIndex=1, feeIndex=1, altPriceOracle=False),
diamond.Pair(from_name="SPY", to="USD",
feedId="0x19e09bb805456ada3979a7d1cbb4b6d63babc3a0f8e8a9509f68afa5c4c11cd5", spreadP=0,
groupIndex=1, feeIndex=1, altPriceOracle=False),
# forex
diamond.Pair(from_name="EUR", to="USD",
feedId="0xa995d00bb36a63cef7fd2c287dc105fc8f3d93779f062f09551b0af3e81ec30b", spreadP=0,
groupIndex=2, feeIndex=2, altPriceOracle=False),
diamond.Pair(from_name="USD", to="JPY",
feedId="0xef2c98c804ba503c6a707e38be4dfbb16683775f195b091252bf24693042fd52", spreadP=0,
groupIndex=2, feeIndex=2, altPriceOracle=False),
# commodities-1
diamond.Pair(from_name="XAU", to="USD",
feedId="0x765d2ba906dbc32ca17cc11f5310a89e9ee1f6420508c63861f2f8ba4ee34bb2", spreadP=0,
groupIndex=3, feeIndex=3, altPriceOracle=False),
diamond.Pair(from_name="XAG", to="USD",
feedId="0xf2fb02c32b055c805e7238d628e5e9dadef274376114eb1f012337cabe93871e", spreadP=0,
groupIndex=3, feeIndex=3, altPriceOracle=False),
]
Last updated