diff --git a/contracts/v0.2/migration/baobab/SubmissionProxy/20241112153831_update.json b/contracts/v0.2/migration/baobab/SubmissionProxy/20241112153831_update.json new file mode 100644 index 000000000..f0c4ca4c1 --- /dev/null +++ b/contracts/v0.2/migration/baobab/SubmissionProxy/20241112153831_update.json @@ -0,0 +1,448 @@ +{ + "deploy": {}, + "addOracle": { + "oracles": ["0xC09A746c596752518261fD7AFB5549FEdED95E2B"] + }, + "updateFeed": [ + { + "name": "AAVE-KRW", + "address": "0x0cd85fe36ba9f47adfb2a0ad8ae001ca168f8ca6" + }, + { + "name": "ADA-KRW", + "address": "0xd7357b44a332f791ca8aca0cb3c9af350c027a7d" + }, + { + "name": "AKT-KRW", + "address": "0xd14db120649ebff73a1af470dfbc144f2cdb4d6b" + }, + { + "name": "APT-KRW", + "address": "0xa4da8a00227112a1b274bdf4b2fc9211232aa5b9" + }, + { + "name": "ADA-USDT", + "address": "0x2390c83f1bb3be9bfcfde1de3fa1e736bc2e502a" + }, + { + "name": "ARB-KRW", + "address": "0xf07317ae5eccb16edc1cf5ab256f68ee4a18da95" + }, + { + "name": "ASTR-KRW", + "address": "0xe0600c512aa8d679b4b770f645bc3b265e4b9e3e" + }, + { + "name": "APT-USDT", + "address": "0x12c4ebed23115e9661d49ac2140ad306d79f7ff3" + }, + { + "name": "ATOM-USDT", + "address": "0xa9b691f8028278cad132971ad689bfcece398d8c" + }, + { + "name": "AVAX-KRW", + "address": "0x0c68eaf5fb3a589fc38ebfb6ccf337bebecfe29d" + }, + { + "name": "AUCTION-KRW", + "address": "0xaa6d36e7d952b3cbf4047ea6cf3b5ad0eebc1498" + }, + { + "name": "AVAX-USDT", + "address": "0x33df6c4c6e2c667e5333f58fcc2a7312c37d57ae" + }, + { + "name": "BCH-KRW", + "address": "0x8bad5882c25cfe9db246002caae87860d2ac9351" + }, + { + "name": "AXS-KRW", + "address": "0x14266bb2c4badc82e3d7843e028b0426f42d67a3" + }, + { + "name": "BLUR-KRW", + "address": "0x4baad42af1aea73d1c39c8402c9040192774dfa4" + }, + { + "name": "BLAST-KRW", + "address": "0x72270af970a41fbac5bf59c9336e6d60c495491c" + }, + { + "name": "BNB-USDT", + "address": "0xf57d542327fe92f624c35f81b5ab4dc3f24b4b3f" + }, + { + "name": "BORA-KRW", + "address": "0x48cc97f2d086c22686e0fc6a5c88fa6878fe3136" + }, + { + "name": "BSV-KRW", + "address": "0xd5602b5d859e9b33e4bda6e310cace76fc8235ed" + }, + { + "name": "BTC-KRW", + "address": "0xb40f4b8589a1063d7584de6d3ec9e72c2e7bb130" + }, + { + "name": "BTC-USDT", + "address": "0x229fbc2252e2da530ecc7b1d727de71e9e217a28" + }, + { + "name": "BTG-KRW", + "address": "0x3c2863a1ef059fd90853b2a2a8d169b84d952424" + }, + { + "name": "BTT-KRW", + "address": "0x60bf2d192ea99067a7a40a41a295af9e4b88fe2d" + }, + { + "name": "CHF-USD", + "address": "0xb49872685415d82b54e9cb1e26eff86651d5ae63" + }, + { + "name": "BONK-KRW", + "address": "0x77c8c1df59384c2c05d7b0368a5e3bb4bfbb44e2" + }, + { + "name": "CTC-KRW", + "address": "0x4b2e4fce87ca7b65b44b9ace968802402876caf9" + }, + { + "name": "DOGE-KRW", + "address": "0x0e4339c97a5dfce88f2f102e00a177c55d963944" + }, + { + "name": "DAI-USDT", + "address": "0x6d3498921f9c87e8a190c09cb88f5aa169a29838" + }, + { + "name": "DOT-KRW", + "address": "0xc79d499a1c69a5d46f2ab3d67c8783257db4ee31" + }, + { + "name": "DOGE-USDT", + "address": "0xa97f5c2a3c892c1d3cd4df6bcd5338c8b444d1d0" + }, + { + "name": "DOT-USDT", + "address": "0x29b5d8c4f299a7ca5f0ff293bd4bff4171fa64b8" + }, + { + "name": "ENS-KRW", + "address": "0xc6fa4e24398fe13fbb50a762636a6fb0945980a6" + }, + { + "name": "EOS-KRW", + "address": "0xb38f9624c8f46f4e539118003f81c04bf7897c12" + }, + { + "name": "ETH-KRW", + "address": "0x6135a6c88f9ab7a8f1c27aea9a02cb384a55f047" + }, + { + "name": "ETH-USDT", + "address": "0xf79b2b590db916ecd6f35e9f80a7f8f7d9663d24" + }, + { + "name": "EUR-USD", + "address": "0x7e4afddb9c42d7b2c10bded23b943212c314ee60" + }, + { + "name": "FET-KRW", + "address": "0x04ad16c7fb13589c949c5abdcd96157b927a3917" + }, + { + "name": "FLOW-KRW", + "address": "0x60b8263b7ceea8e673433d69fade822375a615a8" + }, + { + "name": "FTM-USDT", + "address": "0xf434a181f43c220816c5fca2620db60f9c4a5633" + }, + { + "name": "GAS-KRW", + "address": "0xc84cf34d9a3bdf9412a5ef9858e1204774f0632c" + }, + { + "name": "GBP-USD", + "address": "0x9ae9d156ca39e04e9f592eb728e78946a8e70370" + }, + { + "name": "CHZ-KRW", + "address": "0x3f24bd546a18d196fc29e69be88cec1febf53b6c" + }, + { + "name": "GRND-KRW", + "address": "0x3cc2b4331a22ae80a2cdac3d81517d475af640c5" + }, + { + "name": "GRND-USDT", + "address": "0x8010014b092278e12a995e3c29530015af94cdc8" + }, + { + "name": "GRT-KRW", + "address": "0xf61b99589a7c1ef32801de9eedb181197cdd7c8f" + }, + { + "name": "HPO-KRW", + "address": "0x63887981dd1898a922b2049cee641deccb871928" + }, + { + "name": "ETC-KRW", + "address": "0x2949d1938ab7a3fc3d11e2c01b5edc8151ce96f6" + }, + { + "name": "HBAR-KRW", + "address": "0xd7d8e25743edbd5927659389dfcd3680ef133449" + }, + { + "name": "IMX-KRW", + "address": "0xfea1d2f063576ca705fdfc1b6c53e0619dc6b1de" + }, + { + "name": "GLM-KRW", + "address": "0xd656db10900b3de934fb826b4a540904e6603cf4" + }, + { + "name": "IQ-KRW", + "address": "0x82e74e43ff94f8d088bffe393f202e9d0e1c7ec0" + }, + { + "name": "KAIA-KRW", + "address": "0xa3e7db99c527d6aaab447197ba901939fbc002f5" + }, + { + "name": "KLAY-KRW", + "address": "0x9dfb887500b68e982bebacb50e3ed292fd5cc23c" + }, + { + "name": "JOY-USDT", + "address": "0x905d3535285ea692a2ec0a6b135c6841033dab4b" + }, + { + "name": "JPY-USD", + "address": "0xb3a00af3a209a9f86f89741b35ec34293d8d4476" + }, + { + "name": "KNC-KRW", + "address": "0x10e6c87af68596e18123e6013ef5da14ea5eabb9" + }, + { + "name": "KAIA-USDT", + "address": "0x7f9a888dd135927b66da692803f5f52b1a9a5cb4" + }, + { + "name": "KLAY-USDT", + "address": "0x7c688130c185929eb5163cddc4681f357db91efb" + }, + { + "name": "KRW-USD", + "address": "0x64e33713cf64cf384accbb12a925130b311d0ea5" + }, + { + "name": "LINK-KRW", + "address": "0x1cd728af990d6366cb3e01bf886c933d601861cd" + }, + { + "name": "LTC-USDT", + "address": "0xa7333364d913d6a58092fd7d2aa57765ffdaab43" + }, + { + "name": "MBL-KRW", + "address": "0x98b134a4873f1f9ba73106c3337d263e52be8e36" + }, + { + "name": "MBX-KRW", + "address": "0xc852fc6975f6c1fa228dd4f1b77e7f870677d736" + }, + { + "name": "MED-KRW", + "address": "0x4dea13c160e38deda543f5849893d74a3fe94d1c" + }, + { + "name": "MINA-KRW", + "address": "0x95aa745bb06c2b9fb3f674c4d1a89d7389873ce6" + }, + { + "name": "MTL-KRW", + "address": "0x1f589e696bec4ae3b3cba200faa9b74fbb61aa9e" + }, + { + "name": "MLK-KRW", + "address": "0xacb80bc2e34424a47193efeeb8f4227cef1d96e3" + }, + { + "name": "KSP-KRW", + "address": "0xd6ab32aba7b33a10dec2f8555303ea5a9147bf36" + }, + { + "name": "MNR-KRW", + "address": "0x3aff90e71807e68b1c21425f75fba0c46cf0b59e" + }, + { + "name": "ONDO-KRW", + "address": "0x53800a7d2b91a21275e013118fddae1ddc053749" + }, + { + "name": "PAXG-USDT", + "address": "0x97fb85225c4f21c271eedd1fd96306f81eb60604" + }, + { + "name": "PEPE-KRW", + "address": "0x4e03f7dcbf7cbb73feeed71b7db3ab79d7476dc1" + }, + { + "name": "ONG-KRW", + "address": "0xae3ac5a03aa2e4cdf5f26bd452b4fee89270fcc9" + }, + { + "name": "NEAR-KRW", + "address": "0xde88e34d2703ac828c632f457d1fba8277b77958" + }, + { + "name": "PEPE-USDT", + "address": "0x3f027b0155e24c761e1e04ec43094fdbeb2ceaf9" + }, + { + "name": "PYTH-KRW", + "address": "0x890aa5ea977e480f1d8b3a74def60cd85c78cb9b" + }, + { + "name": "POL-KRW", + "address": "0x2dc942e4f27ccc87f24b9692d3db28ed43141ca6" + }, + { + "name": "POL-USDT", + "address": "0x2cd885ce2d8f262dec904a101c99353c7984db27" + }, + { + "name": "SHIB-KRW", + "address": "0x4d3e6e001d0905fed62947e7c2347de16707049b" + }, + { + "name": "SAND-KRW", + "address": "0xf97b93fda39c3d9fabafc17bb00374d8c4da34d3" + }, + { + "name": "PER-KLAY", + "address": "0x6633bab27d6c4a7beab2f3b6c1cab5d1aa922734" + }, + { + "name": "SEI-KRW", + "address": "0x09adb09cc0143928d539dc3c9149ce9e486c159b" + }, + { + "name": "SNT-KRW", + "address": "0xb7f05e09f88e87dccb08dc8a9b1264bd863fc1b9" + }, + { + "name": "SEI-USDT", + "address": "0x4ef4a0fa3aeba86e3c7234ac65ecf9b5f98cc5f2" + }, + { + "name": "SHIB-USDT", + "address": "0x2e1bc9d02f2f8bd64c51af5509ebbaa5be48c073" + }, + { + "name": "STG-KRW", + "address": "0xb5d21487704499cd56838f5e8740f0bb6e458f9a" + }, + { + "name": "STPT-KRW", + "address": "0x201f9bb0290789d4e76f72d0a7ac3ae14d1efc07" + }, + { + "name": "SOL-KRW", + "address": "0xde36eb06fa8ee7f081a5910a5f33681a4314a383" + }, + { + "name": "SOL-USDT", + "address": "0x721c8beee58c900a5e467d6a28c45b8c7522d7a9" + }, + { + "name": "STRK-KRW", + "address": "0xd0dc9d92c02fee0de6134b9716fb084b7e3487f7" + }, + { + "name": "STX-KRW", + "address": "0x0f89ddb459573dc922771a7de59b6a7fde45f6c5" + }, + { + "name": "SUI-KRW", + "address": "0xd505dab41a687668cad1b9fc593cd94b974b5df7" + }, + { + "name": "TRX-KRW", + "address": "0x3981c84e882e141e44363fff58e71f7a36bc6b1b" + }, + { + "name": "SUI-USDT", + "address": "0xde98eeca36500676bef1ff8cb5b385f05fc31742" + }, + { + "name": "TRX-USDT", + "address": "0xbe5bc3a7c9877cabe3279c86301604dc1cf441d6" + }, + { + "name": "UNI-USDT", + "address": "0xcbb74476ee780c4a889cafa65217c267d651ef83" + }, + { + "name": "USDT-USD", + "address": "0x1dab991618663d8c4b27ae6a1e0837f53d933f6a" + }, + { + "name": "USDC-USDT", + "address": "0xaa622bea10e59fe082b192804ba1512174a50349" + }, + { + "name": "WEMIX-KRW", + "address": "0xc2507479d4783e407f0b760bcad0660b434641e1" + }, + { + "name": "USDT-KRW", + "address": "0x472e03707c2edb70a4e93ef928fedf8f280534a9" + }, + { + "name": "WAVES-KRW", + "address": "0xc76cee442b9657243c123d4bcd81b0702589a6c8" + }, + { + "name": "WLD-KRW", + "address": "0x01b9158704dce74cf02a29792bf144b5b72f7f3a" + }, + { + "name": "WEMIX-USDT", + "address": "0xb71148adcb9c1c31bb5b5d4c23843ccb694108a5" + }, + { + "name": "XEC-KRW", + "address": "0x4e9ec96c9d981ad3ed7252d2de96107c178863b6" + }, + { + "name": "XLM-KRW", + "address": "0x80e5092c54340eff5e3adb2f58ae3c555adb7ab7" + }, + { + "name": "XRP-KRW", + "address": "0xda673aa72ba5ad894452c61548a7cc0408648261" + }, + { + "name": "ZRO-KRW", + "address": "0x314ced8b0490dee3b5fb01d4355377bbb47c4ea0" + }, + { + "name": "ZK-KRW", + "address": "0xc0914e9e4f157aaa3d5a02cf172a8437c5ae1a87" + }, + { + "name": "ZETA-KRW", + "address": "0x82322393c6fec0f7105e62fc7c7636646b661458" + }, + { + "name": "XRP-USDT", + "address": "0x9a1e0fb734ee49be847f7c417d00e3be1e08dfc3" + } + ] +} diff --git a/contracts/v0.2/migration/cypress/SubmissionProxy/20241112154038_update.json b/contracts/v0.2/migration/cypress/SubmissionProxy/20241112154038_update.json new file mode 100644 index 000000000..72e43c44e --- /dev/null +++ b/contracts/v0.2/migration/cypress/SubmissionProxy/20241112154038_update.json @@ -0,0 +1,451 @@ +{ + "deploy": {}, + "addOracle": { + "oracles": [ + "0x3C96ce9ff5E2570480Ee65FDCF0fFc1081290CF3", + "0xC7b92c644Ad7fc3Ad8D4908d19E7CBA6323c03E7" + ] + }, + "updateFeed": [ + { + "name": "AAVE-KRW", + "address": "0xc2adb77c92ad9442a93b04b331e99dd97e951399" + }, + { + "name": "ADA-KRW", + "address": "0x5d322b77409e6e1512bbbfd37c8e50ec8a075da2" + }, + { + "name": "AKT-KRW", + "address": "0xdb47db53de5b92cfb28f0e7cc918bad68b08f40a" + }, + { + "name": "APT-KRW", + "address": "0x510c9897184cd1d40d2e8237cfdcbef0fc9fc835" + }, + { + "name": "ADA-USDT", + "address": "0xc90658b795c1ccfeab8ee9d87fac489cf5802822" + }, + { + "name": "ARB-KRW", + "address": "0xa106964d9f16639233f70e9a8acfe782b5e82603" + }, + { + "name": "ASTR-KRW", + "address": "0x20d94cee6d029eae212e38bfd80a668897daec40" + }, + { + "name": "APT-USDT", + "address": "0xc1ef0efd8a8738500c7918747e99896800dac9da" + }, + { + "name": "ATOM-USDT", + "address": "0xdbe6193b5ca0d2cd561da5a28791b87b8643ed7e" + }, + { + "name": "AVAX-KRW", + "address": "0xa90b490c005ea4f5a0e6b615e867b300e606668d" + }, + { + "name": "AUCTION-KRW", + "address": "0x446bf3b9dfd79d7b9a1f0c0ff51afcec7d7b455d" + }, + { + "name": "AVAX-USDT", + "address": "0xf89c790169d4b0a0bf1f3bf529c0a3abb3c68e72" + }, + { + "name": "BCH-KRW", + "address": "0xf70c88966fae70e3d7c8aefe25fa6bf5edc5c5f5" + }, + { + "name": "AXS-KRW", + "address": "0x2362ae964317954d1a6cec4e8e1753f8b1c8e374" + }, + { + "name": "BLUR-KRW", + "address": "0xc6758f117df3368d614fe6e2af6b74efbf8fd564" + }, + { + "name": "BLAST-KRW", + "address": "0x9f1d0d3790f752fab830619fc751220fb590080a" + }, + { + "name": "BNB-USDT", + "address": "0xa6f7d434001282600865755bc39e68462a334d15" + }, + { + "name": "BORA-KRW", + "address": "0x2c06cf572374f1bc73f924949c18a9f3a6504f2f" + }, + { + "name": "BSV-KRW", + "address": "0x4fae72f667dbb96ecbc67590deed4195c97fe2bb" + }, + { + "name": "BTC-KRW", + "address": "0x1774bd586f54feceb9cdf50d9e21bc295578bef8" + }, + { + "name": "BTC-USDT", + "address": "0x624c060ea3fe93321e40530f3f7e587545d594aa" + }, + { + "name": "BTG-KRW", + "address": "0x1f5a05476beae316c28205ee2266991bac547f9c" + }, + { + "name": "BTT-KRW", + "address": "0xc1dd55c2874f411d37b0063d97aca21e4379400f" + }, + { + "name": "CHF-USD", + "address": "0xfc6eb8834fa837b0a325d07ef6271478d20d601b" + }, + { + "name": "BONK-KRW", + "address": "0x5cb0515a63f8d37efd6e25c093358e163823aa96" + }, + { + "name": "CTC-KRW", + "address": "0x92460a89318b61de046119926295d9ec65449edd" + }, + { + "name": "DOGE-KRW", + "address": "0x02b53d8cd24e65fb29e31b5664220483a04c0707" + }, + { + "name": "DAI-USDT", + "address": "0x7565719e067bd4efdbcb4389c17ac04c0d7b9e65" + }, + { + "name": "DOT-KRW", + "address": "0x3194f3ba88738a6cefb8cf59723dcd25763effb5" + }, + { + "name": "DOGE-USDT", + "address": "0xefb69ddb3d045be86474d63cafc3ed74c6ff653a" + }, + { + "name": "DOT-USDT", + "address": "0x592e3f6f7bcb2272c1ef572f9b12a44c591fb457" + }, + { + "name": "ENS-KRW", + "address": "0xead98de06c3135aaa6cab1335c5f956a7d636ef9" + }, + { + "name": "EOS-KRW", + "address": "0xd1d8d2c26168e1599409005c5c08a0cc2991608f" + }, + { + "name": "ETH-KRW", + "address": "0x87dff3aff2f79e95cd63c67fa4394775bc48f841" + }, + { + "name": "ETH-USDT", + "address": "0x5ed3b461b58af6b27a359425ca4d798034d421e0" + }, + { + "name": "EUR-USD", + "address": "0x254a3ce8daba7f137633fd6511c29d14da3cd9fc" + }, + { + "name": "FET-KRW", + "address": "0x1efdfa4707d892003a88278764fb6dabc23435b1" + }, + { + "name": "FLOW-KRW", + "address": "0x761bdd5c7416da498ee86b7d20f11a0079be4c11" + }, + { + "name": "FTM-USDT", + "address": "0x40acd43de259ded2bf6f4869a1c00569aed4e3d9" + }, + { + "name": "GAS-KRW", + "address": "0x96a3297299fe1d908a90259ed08ad5a27b0adb48" + }, + { + "name": "GBP-USD", + "address": "0x95d6a9e04d97a5cb47ae7671a27ba0ac960d9e4e" + }, + { + "name": "CHZ-KRW", + "address": "0xc0b4283746ee671cc62d00922fe05d1a5ba6220e" + }, + { + "name": "GRND-KRW", + "address": "0x47b849c017d66987a8dd13e717ca695d032d34dd" + }, + { + "name": "GRND-USDT", + "address": "0xf3578a8a88fa2cbfd7a3187328cd4f2c6ed9f61a" + }, + { + "name": "GRT-KRW", + "address": "0xe468e85ba9eeea15a28f2720a69350b6a1ee5283" + }, + { + "name": "HPO-KRW", + "address": "0x798d686bb488521e3bff6702e0aff9874394e6d3" + }, + { + "name": "ETC-KRW", + "address": "0x151f54dbc55b3c52d928c5e48fd07db985359350" + }, + { + "name": "HBAR-KRW", + "address": "0xf8d491a5c06c7adcdf04f01f766dd8a8da09c95f" + }, + { + "name": "IMX-KRW", + "address": "0x368be5fce54704c63cc751f3d28e65d402a58b85" + }, + { + "name": "GLM-KRW", + "address": "0xa717fa6acc89edecef6c31dab157877c3f334702" + }, + { + "name": "IQ-KRW", + "address": "0x54ad834c1e308897b19399593d503af6f9bb55fc" + }, + { + "name": "KAIA-KRW", + "address": "0xf2901e497bfea50168b083b94683194081bcce4b" + }, + { + "name": "KLAY-KRW", + "address": "0x772b4e3408a10d3f8b110e2e4cd65aa1dd539420" + }, + { + "name": "JOY-USDT", + "address": "0x603a7458f850b7d213102acba2b478afdef2fe77" + }, + { + "name": "JPY-USD", + "address": "0x5aa7b27a7f74c30333bdfdb6ec1186fc132589c5" + }, + { + "name": "KNC-KRW", + "address": "0xef567aa3556b6587d24ba617054197b723c06576" + }, + { + "name": "KAIA-USDT", + "address": "0xe5eaed32b3abc15657d703d4996d830b7a064da4" + }, + { + "name": "KLAY-USDT", + "address": "0x612e5b796c07940ada4bfb6603def23178765200" + }, + { + "name": "KRW-USD", + "address": "0x1b1508dbb318fec1b42648f455910547d6393efe" + }, + { + "name": "LINK-KRW", + "address": "0xf61848f4f14bafe8f26ffcac639de6f50dde4ccd" + }, + { + "name": "LTC-USDT", + "address": "0x605a57dd4fcf6b3cb12aee26b84f982b9c182700" + }, + { + "name": "MBL-KRW", + "address": "0x6a982a3411ae63bc4720b7770e02c31190cdb8a9" + }, + { + "name": "MBX-KRW", + "address": "0xdcc8cee678733758c3f65fe630cb9bfb4291b6cb" + }, + { + "name": "MED-KRW", + "address": "0x12fca8d4505b086dcac60ff8f2974db69b1ff14d" + }, + { + "name": "MINA-KRW", + "address": "0x449af2c9bf9b15746ead059d089ce5706894d275" + }, + { + "name": "MTL-KRW", + "address": "0x8300f49fa94ce7404f72e5fca1f31cebe97c21da" + }, + { + "name": "MLK-KRW", + "address": "0x01b6b0be72891cd23534577cec013aa99521f36d" + }, + { + "name": "KSP-KRW", + "address": "0x86e8945a220a24a44831a3a714870409057a66e7" + }, + { + "name": "MNR-KRW", + "address": "0x07be342841a01cadcc849f877832369c137e05e2" + }, + { + "name": "ONDO-KRW", + "address": "0x02e67a8bb242543229868a74c5a157b83741f6db" + }, + { + "name": "PAXG-USDT", + "address": "0xce0fa2b930b0b4384edad8ab6fb19e961d9da068" + }, + { + "name": "PEPE-KRW", + "address": "0x1ad2894dcf4739f811badf9c9cbcffd68ed3b94b" + }, + { + "name": "ONG-KRW", + "address": "0x85b23d30a808c6fb19b8e969c30ebca9a9be1efd" + }, + { + "name": "NEAR-KRW", + "address": "0xaa8962ba75ceee7befe104830a49bd1b4ecb3be9" + }, + { + "name": "PEPE-USDT", + "address": "0x484f0d4dfa19ba3f47620236b772db8b88122b0f" + }, + { + "name": "PYTH-KRW", + "address": "0x60baf1c64e2184b1b29e669fbe867ef2f40949c0" + }, + { + "name": "POL-KRW", + "address": "0x1bda11561370b7c5cf2e47a2230d6e41eb172d3e" + }, + { + "name": "POL-USDT", + "address": "0xa9d432efff6009284d45c98127decd244d04b712" + }, + { + "name": "SHIB-KRW", + "address": "0x45364d27f3af968539c01d9fdc6e844936e93779" + }, + { + "name": "SAND-KRW", + "address": "0xeeed076e634803981993d57b7f6bc3d73b9701c7" + }, + { + "name": "PER-KLAY", + "address": "0x73fd23f8e20294429f850d3b4700f373f7dd68e8" + }, + { + "name": "SEI-KRW", + "address": "0x2d1c4cfc28803ceef1e44f5f98499d21bef15c7a" + }, + { + "name": "SNT-KRW", + "address": "0xff6afb9dad91b9a2ff865800959f845bd963c5b7" + }, + { + "name": "SEI-USDT", + "address": "0xb1953b411246cbc2cb7aa2e05e2943772e807e26" + }, + { + "name": "SHIB-USDT", + "address": "0xf6405ff566c5020daea1cdbea279f10383cfb056" + }, + { + "name": "STG-KRW", + "address": "0xae8bc67958c1726cac8a3902950f9f47c7c2539d" + }, + { + "name": "STPT-KRW", + "address": "0x2eb162802020d972c74eb5fa1cb3bef7fcb5583e" + }, + { + "name": "SOL-KRW", + "address": "0x75aa5161cdcb0483da56636bf495173ff9f53ea8" + }, + { + "name": "SOL-USDT", + "address": "0x4d64fe56e8fd4d478337d540cc69c9a5ac5eaa2c" + }, + { + "name": "STRK-KRW", + "address": "0xb5156660169dd476aced441194510f2ddfab062f" + }, + { + "name": "STX-KRW", + "address": "0x62f05072a4bfd5c54b5a2ac3ef5e21da8c3e28f0" + }, + { + "name": "SUI-KRW", + "address": "0x6864483a30a96c385aa8bc6faedd725cec77fd40" + }, + { + "name": "TRX-KRW", + "address": "0x5034cbedacce2bfc7ee4783213e525ac90f134d8" + }, + { + "name": "SUI-USDT", + "address": "0x5c1319c82e1e01e12de372a3e1737b69ce430f7d" + }, + { + "name": "TRX-USDT", + "address": "0x9cc98bdda2e707826c0dfeb6ae74d14acc404436" + }, + { + "name": "UNI-USDT", + "address": "0x23539a33a12b63faf45e63755ca54380e1e71c06" + }, + { + "name": "USDT-USD", + "address": "0x08e940022fb70b49e33f27660987b6e12cbeb4fb" + }, + { + "name": "USDC-USDT", + "address": "0x09ca669ece35558bb8148fd8a26cb5a7a3e00c71" + }, + { + "name": "WEMIX-KRW", + "address": "0x4222a92bdac89a108172bf6f87e0a6aca0ad242f" + }, + { + "name": "USDT-KRW", + "address": "0xe9b5cc24d4833dd173c94322aef19340d13967e2" + }, + { + "name": "WAVES-KRW", + "address": "0xf512d6d24bcd33656a3e6a739eebefe6a5ea303c" + }, + { + "name": "WLD-KRW", + "address": "0xb7a4364c7db532b4434a560b8da130f5eb5d41dd" + }, + { + "name": "WEMIX-USDT", + "address": "0xf849f54f18ef9900d844e935f40dc03149462fc9" + }, + { + "name": "XEC-KRW", + "address": "0x1a97e31bb0f16b3949c201c57d7f32ba8a8a38b9" + }, + { + "name": "XLM-KRW", + "address": "0x3d8c22b008de63eabc3bbbe460b9a5ced1b48b13" + }, + { + "name": "XRP-KRW", + "address": "0x11351421ae31d51c0bdc980a0c1b1555414abad4" + }, + { + "name": "ZRO-KRW", + "address": "0x95c7c48cbe552c6e01ed247b0ccc74ccfb1e9fea" + }, + { + "name": "ZK-KRW", + "address": "0x1da491fe607c150ec95bd64cf6d10307deb370b4" + }, + { + "name": "ZETA-KRW", + "address": "0xd0207917adb5aaf88203cba1582a79af03bacb58" + }, + { + "name": "XRP-USDT", + "address": "0xc5cc1e6162d03e148317dff11a8c465c24578378" + } + ] +} diff --git a/contracts/v0.2/script/prepare-submission-proxy-migration.py b/contracts/v0.2/script/prepare-submission-proxy-migration.py new file mode 100644 index 000000000..5881b7377 --- /dev/null +++ b/contracts/v0.2/script/prepare-submission-proxy-migration.py @@ -0,0 +1,53 @@ +import json +import argparse +import os +from datetime import datetime + +file_path = "./addresses/datafeeds-addresses.json" + +def main(): + with open(file_path, "r") as f: + data = json.load(f) + + + parser = argparse.ArgumentParser(description="parse args") + parser.add_argument('--network', type=str, default="baobab") + + args = parser.parse_args() + network = args.network + + entries = [] + + for symbol, networks in data.items(): + name = symbol + for key, item in networks.items(): + if key == network: + entries.append({ + "name": name, + "address": item["feed"] + }) + + result = { + "deploy": {}, + "addOracle": { + "oracles": [] + }, + "updateFeed": entries + } + + timestamp = datetime.now().strftime('%Y%m%d%H%M%S') + + # Create the file path with the timestamp + write_file_path = f"./migration/{network}/SubmissionProxy/{timestamp}_update.json" + + print(write_file_path) + + # Ensure the directories exist + os.makedirs(os.path.dirname(write_file_path), exist_ok=True) + + with open(write_file_path, 'w') as file: + json.dump(result, file, indent=2) + + +if __name__ == "__main__": + main() \ No newline at end of file