fix: generate map instance

This commit is contained in:
nikdementev 2021-06-09 17:06:43 +03:00 committed by 0xZick 地方分権化
parent 28ae284221
commit 693e81fdff
2 changed files with 2 additions and 2 deletions

@ -39,7 +39,7 @@ module.exports = {
Contracts.forEach(({ address, name, amount, currency }) => {
if (address != null) {
contractsToInstancesContent += `contractsToInstances.set(${address.toLowerCase()},${space}//${space}${name}-${currency}-${amount}${newLine}${doubleSpace}${amount}${'-'}${currency}${newLine});${newLine}`;
contractsToInstancesContent += `contractsToInstances.set(${address.toLowerCase()},${space}//${space}${name}-${currency}-${amount}${newLine}${doubleSpace}"${amount}${'-'}${currency}"${newLine});${newLine}`;
}
});

@ -1,6 +1,6 @@
// this is a read only file generated by manual inputs to file mustache/templates/rates/contracts.js.
export let contractsToInstances = new Map<string, string>();
contractsToInstances.set('0x0ce22770451a8acad1220d9d1678656b4fae4a1d', // Instance-bsc-0.1
  0.1-bsc
  "0.1-bsc"
);
// this is a read only file generated by manual inputs to file mustache/templates/rates/contracts.js.