SCRT Labs: Add Hardcoded Admins on the v1.10 Upgrade to Pre v1.10 Contracts
Summary
This is a draft signaling proposal by SCRT Labs to add hardcoded admins to a list of pre v1.10 contracts to the v1.10 upgrade. This will allow these contracts to be upgraded to the new version without having to create a new contract and have users manually migrate their state.
Details
The list of contracts that will be hardcoded into the v1.10 upgrade is as follows:
Contract | Description | TVL | Current code ID | Current source code | Reason for wanting to upgrade | New admin address | Admin account type |
---|---|---|---|---|---|---|---|
secret1k0jntykt7e4g3y88ltc60czgjuqdy4c9e8fzek | sSCRT | $2,735,460.90 | 5 | GitHub - scrtlabs/snip20-reference-impl at 31994faf78703f73baea4ad3e2a168377fdb37b0 | Add permits, decoys, record timestamps in history, etc. | secret1lrnpnp6ltfxwuhjeaz97htnajh096q7y72rp5d | SCRT Labs Ledger |
secret14mzwd0ps5q277l20ly2q3aetqe3ev4m4260gf4 | sATOM | $53,553.02 | 177 | GitHub - scrtlabs/snip20-reference-impl at 3c5b223269edc85d8d9806375af3625c25b4c49b | Add fast permits & decoys | secret1lrnpnp6ltfxwuhjeaz97htnajh096q7y72rp5d | SCRT Labs Ledger |
secret1k8cge73c3nh32d4u0dsd5dgtmk63shtlrfscj5 | sDVPN | $6,941.48 | 177 | GitHub - scrtlabs/snip20-reference-impl at 3c5b223269edc85d8d9806375af3625c25b4c49b | Add fast permits & decoys | secret1lrnpnp6ltfxwuhjeaz97htnajh096q7y72rp5d | SCRT Labs Ledger |
secret1smmc5k24lcn4j2j8f3w0yaeafga6wmzl0qct03 | sJUNO | $155 | 177 | GitHub - scrtlabs/snip20-reference-impl at 3c5b223269edc85d8d9806375af3625c25b4c49b | Add fast permits & decoys | secret1lrnpnp6ltfxwuhjeaz97htnajh096q7y72rp5d | SCRT Labs Ledger |
secret1zwwealwm0pcl9cul4nt6f38dsy6vzplw8lp3qg | sOSMO | $15,190.88 | 177 | GitHub - scrtlabs/snip20-reference-impl at 3c5b223269edc85d8d9806375af3625c25b4c49b | Add fast permits & decoys | secret1lrnpnp6ltfxwuhjeaz97htnajh096q7y72rp5d | SCRT Labs Ledger |
secret1ntvxnf5hzhzv8g87wn76ch6yswdujqlgmjh32w | sHUAHUA | $468 | 239 | GitHub - scrtlabs/snip20-reference-impl at a414db4e4253fb49e4e430321073f441ad152530 | Add fast permits & decoys | secret1lrnpnp6ltfxwuhjeaz97htnajh096q7y72rp5d | SCRT Labs Ledger |
secret1rw2l7z22s3ed6dl5v70ktvnckhurldy23a3a58 | sBLD | $0 | 563 | GitHub - scrtlabs/snip20-reference-impl at 66947912e69baf9ce879c9d37d60350bd164e9e9 | Add MetaMask permits & decoys | secret1lrnpnp6ltfxwuhjeaz97htnajh096q7y72rp5d | SCRT Labs Ledger |
secret1tatdlkyznf00m3a7hftw5daaq2nk38ugfphuyr | sCRE | $0 | 563 | GitHub - scrtlabs/snip20-reference-impl at 66947912e69baf9ce879c9d37d60350bd164e9e9 | Add MetaMask permits & decoys | secret1lrnpnp6ltfxwuhjeaz97htnajh096q7y72rp5d | SCRT Labs Ledger |
secret1grg9unv2ue8cf98t50ea45prce7gcrj2n232kq | sEVMOS | $0 | 563 | GitHub - scrtlabs/snip20-reference-impl at 66947912e69baf9ce879c9d37d60350bd164e9e9 | Add MetaMask permits & decoys | secret1lrnpnp6ltfxwuhjeaz97htnajh096q7y72rp5d | SCRT Labs Ledger |
secret1dtghxvrx35nznt8es3fwxrv4qh56tvxv22z79d | sGRAV | $0 | 563 | GitHub - scrtlabs/snip20-reference-impl at 66947912e69baf9ce879c9d37d60350bd164e9e9 | Add MetaMask permits & decoys | secret1lrnpnp6ltfxwuhjeaz97htnajh096q7y72rp5d | SCRT Labs Ledger |
secret16cwf53um7hgdvepfp3jwdzvwkt5qe2f9vfkuwv | sINJ | $0 | 563 | GitHub - scrtlabs/snip20-reference-impl at 66947912e69baf9ce879c9d37d60350bd164e9e9 | Add MetaMask permits & decoys | secret1lrnpnp6ltfxwuhjeaz97htnajh096q7y72rp5d | SCRT Labs Ledger |
secret1kjqktuq2wq6mk7l0ecvk2cwcskjmv3ghpklctn | sIST | $280 | 563 | GitHub - scrtlabs/snip20-reference-impl at 66947912e69baf9ce879c9d37d60350bd164e9e9 | Add MetaMask permits & decoys | secret1lrnpnp6ltfxwuhjeaz97htnajh096q7y72rp5d | SCRT Labs Ledger |
secret1gaew7k9tv4hlx2f4wq4ta4utggj4ywpkjysqe8 | sKUJI | $230 | 563 | GitHub - scrtlabs/snip20-reference-impl at 66947912e69baf9ce879c9d37d60350bd164e9e9 | Add MetaMask permits & decoys | secret1lrnpnp6ltfxwuhjeaz97htnajh096q7y72rp5d | SCRT Labs Ledger |
secret1w8d0ntrhrys4yzcfxnwprts7gfg5gfw86ccdpf | sLUNA | $275 | 563 | GitHub - scrtlabs/snip20-reference-impl at 66947912e69baf9ce879c9d37d60350bd164e9e9 | Add MetaMask permits & decoys | secret1lrnpnp6ltfxwuhjeaz97htnajh096q7y72rp5d | SCRT Labs Ledger |
secret159p22zvq2wzsdtqhm2plp4wg33srxp2hf0qudc | sROWAN | $0 | 563 | GitHub - scrtlabs/snip20-reference-impl at 66947912e69baf9ce879c9d37d60350bd164e9e9 | Add MetaMask permits & decoys | secret1lrnpnp6ltfxwuhjeaz97htnajh096q7y72rp5d | SCRT Labs Ledger |
secret1x0dqckf2khtxyrjwhlkrx9lwwmz44k24vcv2vv | sSTARS | $70 | 563 | GitHub - scrtlabs/snip20-reference-impl at 66947912e69baf9ce879c9d37d60350bd164e9e9 | Add MetaMask permits & decoys | secret1lrnpnp6ltfxwuhjeaz97htnajh096q7y72rp5d | SCRT Labs Ledger |
secret17gg8xcx04ldqkvkrd7r9w60rdae4ck8aslt9cf | sSTRD | $0 | 563 | GitHub - scrtlabs/snip20-reference-impl at 66947912e69baf9ce879c9d37d60350bd164e9e9 | Add MetaMask permits & decoys | secret1lrnpnp6ltfxwuhjeaz97htnajh096q7y72rp5d | SCRT Labs Ledger |
secret1h5d3555tz37crrgl5rppu2np2fhaugq3q8yvv9 | sDOT | $0 | 563 | GitHub - scrtlabs/snip20-reference-impl at 66947912e69baf9ce879c9d37d60350bd164e9e9 | Add MetaMask permits & decoys | secret1lrnpnp6ltfxwuhjeaz97htnajh096q7y72rp5d | SCRT Labs Ledger |
secret1n4dp5dk6fufqmaalu9y7pnmk2r0hs7kc66a55f | sKSM | $0 | 563 | GitHub - scrtlabs/snip20-reference-impl at 66947912e69baf9ce879c9d37d60350bd164e9e9 | Add MetaMask permits & decoys | secret1lrnpnp6ltfxwuhjeaz97htnajh096q7y72rp5d | SCRT Labs Ledger |
secret15rxfz2w2tallu9gr9zjxj8wav2lnz4gl9pjccj | sMNTA | $0 | 563 | GitHub - scrtlabs/snip20-reference-impl at 66947912e69baf9ce879c9d37d60350bd164e9e9 | Add MetaMask permits & decoys | secret1lrnpnp6ltfxwuhjeaz97htnajh096q7y72rp5d | SCRT Labs Ledger |
secret1vcau4rkn7mvfwl8hf0dqa9p0jr59983e3qqe3z | sAXL | $421 | 877 | Merge pull request #77 from scrtlabs/SolarRepublic-allowances-2 · scrtlabs/snip20-reference-impl@81ad971 · GitHub | Add MetaMask permits & decoys | secret1lrnpnp6ltfxwuhjeaz97htnajh096q7y72rp5d | SCRT Labs Ledger |
secret1vkq022x4q8t8kx9de3r84u669l65xnwf2lg3e6 | saUSDC | $3,424,763.77 | 877 | Merge pull request #77 from scrtlabs/SolarRepublic-allowances-2 · scrtlabs/snip20-reference-impl@81ad971 · GitHub | Add MetaMask permits & decoys | secret1lrnpnp6ltfxwuhjeaz97htnajh096q7y72rp5d | SCRT Labs Ledger |
secret139qfh3nmuzfgwsx2npnmnjl4hrvj3xq5rmq8a0 | saWETH | $1,318,118.73 | 877 | Merge pull request #77 from scrtlabs/SolarRepublic-allowances-2 · scrtlabs/snip20-reference-impl@81ad971 · GitHub | Add MetaMask permits & decoys | secret1lrnpnp6ltfxwuhjeaz97htnajh096q7y72rp5d | SCRT Labs Ledger |
secret1guyayjwg5f84daaxl7w84skd8naxvq8vz9upqx | saWBTC | $309,019.89 | 877 | Merge pull request #77 from scrtlabs/SolarRepublic-allowances-2 · scrtlabs/snip20-reference-impl@81ad971 · GitHub | Add MetaMask permits & decoys | secret1lrnpnp6ltfxwuhjeaz97htnajh096q7y72rp5d | SCRT Labs Ledger |
secret19xsac2kstky8nhgvvz257uszt44g0cu6ycd5e4 | saWBNB | $5,553.65 | 877 | Merge pull request #77 from scrtlabs/SolarRepublic-allowances-2 · scrtlabs/snip20-reference-impl@81ad971 · GitHub | Add MetaMask permits & decoys | secret1lrnpnp6ltfxwuhjeaz97htnajh096q7y72rp5d | SCRT Labs Ledger |
secret1t642ayn9rhl5q9vuh4n2jkx0gpa9r6c3sl96te | saBUSD | $1.00 | 877 | Merge pull request #77 from scrtlabs/SolarRepublic-allowances-2 · scrtlabs/snip20-reference-impl@81ad971 · GitHub | Add MetaMask permits & decoys | secret1lrnpnp6ltfxwuhjeaz97htnajh096q7y72rp5d | SCRT Labs Ledger |
secret1c2prkwd8e6ratk42l4vrnwz34knfju6hmp7mg7 | saDAI | $97.08 | 877 | Merge pull request #77 from scrtlabs/SolarRepublic-allowances-2 · scrtlabs/snip20-reference-impl@81ad971 · GitHub | Add MetaMask permits & decoys | secret1lrnpnp6ltfxwuhjeaz97htnajh096q7y72rp5d | SCRT Labs Ledger |
secret1wk5j2cntwg2fgklf0uta3tlkvt87alfj7kepuw | saUSDT | $1,390,339.84 | 877 | Merge pull request #77 from scrtlabs/SolarRepublic-allowances-2 · scrtlabs/snip20-reference-impl@81ad971 · GitHub | Add MetaMask permits & decoys | secret1lrnpnp6ltfxwuhjeaz97htnajh096q7y72rp5d | SCRT Labs Ledger |
secret1egqlkasa6xe6efmfp9562sfj07lq44z7jngu5k | saUNI | $0.00 | 877 | Merge pull request #77 from scrtlabs/SolarRepublic-allowances-2 · scrtlabs/snip20-reference-impl@81ad971 · GitHub | Add MetaMask permits & decoys | secret1lrnpnp6ltfxwuhjeaz97htnajh096q7y72rp5d | SCRT Labs Ledger |
secret16e230j6qm5u5q30pcc6qv726ae30ak6lzq0zvf | saFRAX | $2.00 | 877 | Merge pull request #77 from scrtlabs/SolarRepublic-allowances-2 · scrtlabs/snip20-reference-impl@81ad971 · GitHub | Add MetaMask permits & decoys | secret1lrnpnp6ltfxwuhjeaz97htnajh096q7y72rp5d | SCRT Labs Ledger |
secret1tqmms5awftpuhalcv5h5mg76fa0tkdz4jv9ex4 | cw20-icw20 - The IBC contract that allows SNIP-20 tokens to be sent over IBC | $3,460 | 752 | https://github.com/scrtlabs/cw-plus/tree/84384d2045905ce11590b28750a02a0475cfca3a/contracts/cw20-ics20 | Add memo support, which will allow sending SNIP-20 over IBC while using ibc-hooks to e.g. send stkd-SCRT to Osmosis, swap to SCRT and send back to Secret using just the one tx on Secret. | secret1lrnpnp6ltfxwuhjeaz97htnajh096q7y72rp5d | SCRT Labs Ledger |
secret1yxjmepvyl2c25vnt53cr2dpn8amknwausxee83 | ICS-20 contract for auto warpping Axelar tokens coming into Secret | $0 | 872 | GitHub - scrtlabs/ics20-for-axelar at 0546744edd1b90c5ad635713cbcc047a84f0551c | Add memo support, which will allow sending Axelar tokens over IBC while using PFM to route to other chains, potentiaaly also using ibc-hooks and getting back to Secret. | secret1lrnpnp6ltfxwuhjeaz97htnajh096q7y72rp5d | SCRT Labs Ledger |
secret1hvg7am0cwfu6hfnjhere35kne23f3z6z80rlty | Mystic Skulls SNIP-721 | $0 | 218 | https://github.com/baedrik/mystic-skulls/tree/97654409db23bd73aeedad38bac3aa98f3cd6e76/snip-721 | permit gameplay updates for alchemy, potions, etc… | secret1nnt3t7ms82vf86jwq88zvwvzvm2mkhxxtevzut | individual (baedrik) |
We are excited to upgrade sSCRT to add permits support. Permits are more user-friendly than viewing keys, so adding them to old SNIP-20 tokens will allow us to work with wallets to make permits the default way of interacting with SNIP-20 tokens.
In addition, Blizzard Finance has requested that we add an hardcoded admin to the following contracts, in order to extract and return community funds that are currently locked in them. The funds were given to Blizzard Finance by the community for the Secret Surge campaign. The contracts were designed to spend everything, but when the campaign ended prematurely, the funds remained locked in the contracts. Because the contracts are closed source, we would like to ask the community whether we should include them in our proposal or submit a separate proposal for them. The contracts are:
Contract | Description | TVL | Current code ID | Current source code | Reason for wanting to upgrade | New admin address | Admin account type |
---|---|---|---|---|---|---|---|
secret1tejwnma86amug6mfy74qhwclsx92zutd9rfquy | Rewards contracts for Blizzard Finance | $30,000 total | 941 | Closed source | Rescue community funds | secret1j7tmjrh5wkxf4yx0kas0ja4an6wktss7mvqenm | Ian |
secret1k5kn0a9gqap7uex0l2xj96sw6lxwqwsghewlvn | … | … | 942 | … | … | secret1j7tmjrh5wkxf4yx0kas0ja4an6wktss7mvqenm | Ian |
secret139gyx9n6ahk7lnq0kt0nczt3tmruzmfx0fgk4h | … | … | 942 | … | … | secret1j7tmjrh5wkxf4yx0kas0ja4an6wktss7mvqenm | Ian |
secret1kl86lu8v3mwkjhvvfrz3p60qvmsrtyxre6d7mj | … | … | 942 | … | … | secret1j7tmjrh5wkxf4yx0kas0ja4an6wktss7mvqenm | Ian |
secret19qyld7sfp9xnh9qt8efllttdnxu5pt9vrmvulr | … | … | 942 | … | … | secret1j7tmjrh5wkxf4yx0kas0ja4an6wktss7mvqenm | Ian |
secret1q08savjzkejanz2s7n56yn8ccekaj0h8d4xk7h | … | … | 942 | … | … | secret1j7tmjrh5wkxf4yx0kas0ja4an6wktss7mvqenm | Ian |
secret1gt6g8dhdr4v7lhtkpxmvr8us9k9cd4zga7cnz9 | … | … | 942 | … | … | secret1j7tmjrh5wkxf4yx0kas0ja4an6wktss7mvqenm | Ian |
secret19qyld7sfp9xnh9qt8efllttdnxu5pt9vrmvulr | … | … | 942 | … | … | secret1j7tmjrh5wkxf4yx0kas0ja4an6wktss7mvqenm | Ian |
secret1v3uvahkhtzxnq0m767ekkmknlflh4y5nrvdy7l | … | … | 942 | … | … | secret1j7tmjrh5wkxf4yx0kas0ja4an6wktss7mvqenm | Ian |
secret1fhh6fjy0wk25qcn6fd977cfwr0mzumkus33e75 | … | … | 942 | … | … | secret1j7tmjrh5wkxf4yx0kas0ja4an6wktss7mvqenm | Ian |
secret1gel0l6qwjzwnhmu9egr4alzagg7h9g3a06pk9l | … | … | 963 | … | … | secret1j7tmjrh5wkxf4yx0kas0ja4an6wktss7mvqenm | Ian |
secret1s6eugslqmwmpkd2gt29r02tr4v2sspcmf8rflw | … | … | 963 | … | … | secret1j7tmjrh5wkxf4yx0kas0ja4an6wktss7mvqenm | Ian |
secret1l0nmjc3kv6s57pctm84g4w7nvsdkfsk9g84ewr | … | … | 963 | … | … | secret1j7tmjrh5wkxf4yx0kas0ja4an6wktss7mvqenm | Ian |
secret1j9mv67qjrlcmlq7d5tdeau5s4zqm22p3880e8g | … | … | 963 | … | … | secret1j7tmjrh5wkxf4yx0kas0ja4an6wktss7mvqenm | Ian |
secret1s06m6mjmvxnrpsr8dwkndeec40u65p4ll8cs72 | … | … | 963 | … | … | secret1j7tmjrh5wkxf4yx0kas0ja4an6wktss7mvqenm | Ian |
secret1d3pjs4fh7ssjdlganmt55sm4j3gqml706ntedw | … | … | 963 | … | … | secret1j7tmjrh5wkxf4yx0kas0ja4an6wktss7mvqenm | Ian |
secret1kd5jaxvz946scme034nrfnvp03dhct7r9tl52c | … | … | 963 | … | … | secret1j7tmjrh5wkxf4yx0kas0ja4an6wktss7mvqenm | Ian |
secret1wjxyyklxerp00wqmc52hjxskjja5mwrm0pqy69 | … | … | 963 | … | … | secret1j7tmjrh5wkxf4yx0kas0ja4an6wktss7mvqenm | Ian |
secret16tz5uwmv47v3jlln56fq5h2f6frl3a944ys3qk | … | … | 963 | … | … | secret1j7tmjrh5wkxf4yx0kas0ja4an6wktss7mvqenm | Ian |
secret1h6g03h0uf9e59kmc40p7fc4kggjd4umw8u9tc6 | … | … | 963 | … | … | secret1j7tmjrh5wkxf4yx0kas0ja4an6wktss7mvqenm | Ian |
secret13c7gglkw6hh6fl2gejswsz3pkcu00044zczrx9 | … | … | 963 | … | … | secret1j7tmjrh5wkxf4yx0kas0ja4an6wktss7mvqenm | Ian |
secret1duqnqrsnzu53z6dpvegeqjfnrzfm7c3sq09hzr | … | … | 963 | … | … | secret1j7tmjrh5wkxf4yx0kas0ja4an6wktss7mvqenm | Ian |
secret1d3ksc0tmq2352nj4ke64emxxtvlpp24spxklkf | … | … | 963 | … | … | secret1j7tmjrh5wkxf4yx0kas0ja4an6wktss7mvqenm | Ian |
secret1krpyrk6r83fveu5w7ukp4v6833gf79kw9tm0mu | … | … | 963 | … | … | secret1j7tmjrh5wkxf4yx0kas0ja4an6wktss7mvqenm | Ian |
secret1jzcxa66yw4vha92202pmzwwjanljh3mm6qte6m | … | … | 963 | … | … | secret1j7tmjrh5wkxf4yx0kas0ja4an6wktss7mvqenm | Ian |
secret1fp4p5htcs9cpqw0n8mhm9zvjsu7mn2sdx5fqxt | … | … | 963 | … | … | secret1j7tmjrh5wkxf4yx0kas0ja4an6wktss7mvqenm | Ian |
This proposal will allow the listed contracts to be upgraded to the new version without having to create a new contract or manually migrating user data. This will save time and effort for developers and make it easier for users to continue using the contracts after the v1.10 upgrade.
Risks
The main risk of this proposal is that hardcoded admins could be used to upgrade contracts to malicious code that could leak private data or steal funds. To mitigate this risk, hardcoded admins should be carefully chosen and the chain should be monitored for suspicious MsgMigrateContract
transactions.
Note: Hardcoded admins can only be changed or removed by a governance proposal and a subsequent chain upgrade.
For more info: An Update on the Contract Upgrade Feature
Timeline
This proposal will be submitted on-chain on August 10, 2023. The voting period will end on August 17, 2023. If approved, the v1.10 upgrade, tentatively scheduled for September 12, 2023, will include the proposed hardcoded admins.
Call to Action
We urge teams building on Secret Network to comment here with contracts they want to add hardcoded admins to, or submit their own proposals on-chain. Proposals that pass before August 31, 2023 will be included in the v1.10 upgrade.
Onwards and upwards ,
The SCRT Labs Team