Closed xgambitox closed 3 years ago
@xgambitox is attempting to deploy a commit to the Yearn Finance Team on Vercel.
A member of the Team first needs to authorize it.
TRUSTED_MIGRATOR_ADDRESS
in files app/components/MigrateVault/index.js (-import { TRUSTED_MIGRATOR_ADDRESS } from 'containers/Vaults/constants';
), app/components/MigrateVault/index.js (+ TRUSTED_MIGRATOR_ADDRESS,
) TRICRYPTO_VAULT_MIGRATOR
in files app/components/MigrateVault/index.js (+ TRICRYPTO_VAULT_MIGRATOR,
), app/components/MigrateVault/index.js (+ const triCryptoVaultMigratorContract = useContract(TRICRYPTO_VAULT_MIGRATOR);
), app/containers/App/saga.js (+ TRICRYPTO_VAULT_MIGRATOR,
), app/containers/App/saga.js (+ addresses: [TRICRYPTO_VAULT_MIGRATOR],
), app/containers/App/saga.js (+ TRICRYPTO_VAULT_MIGRATOR,
), app/containers/Vaults/constants.js (+export const TRICRYPTO_VAULT_MIGRATOR =
), app/containers/Vaults/saga.js (+ TRICRYPTO_VAULT_MIGRATOR,
), app/containers/Vaults/saga.js (+ selectTokenAllowance(vaultContract.address, TRICRYPTO_VAULT_MIGRATOR),
) TRICRYPTO_VAULT
in files app/components/MigrateVault/index.js (+ TRICRYPTO_VAULT,
), app/components/MigrateVault/index.js (+ const isVaultTriCrypto = vaultAddress === TRICRYPTO_VAULT;
), app/components/Vault/index.js (- if (vault.address === TRICRYPTO_VAULT) {
), app/components/Vault/index.js (+ vault.address === TRICRYPTO_VAULT ||
), app/containers/App/saga.js (+ TRICRYPTO_VAULT,
), app/containers/App/saga.js (+ [TRICRYPTO_VAULT],
), app/containers/Vaults/selectors.js (+import { TRICRYPTO_VAULT } from './constants';
), app/containers/Vaults/selectors.js (+ (migration) => migration.vaultFrom === TRICRYPTO_VAULT,
) MIGRATE_TRYCRIPTO_VAULT
in files app/containers/Vaults/actions.js (+ type: c.MIGRATE_TRYCRIPTO_VAULT,
), app/containers/Vaults/constants.js (+export const MIGRATE_TRYCRIPTO_VAULT = 'MIGRATE_TRICRYPTO_VAULT';
), app/containers/Vaults/saga.js (+ MIGRATE_TRYCRIPTO_VAULT,
), app/containers/Vaults/saga.js (+ yield takeLatest(MIGRATE_TRYCRIPTO_VAULT, migrateTriCryptoVault);
) MIGRATE_TRICRYPTO_VAULT
in files app/containers/Vaults/constants.js (+export const MIGRATE_TRYCRIPTO_VAULT = 'MIGRATE_TRICRYPTO_VAULT';
) cacheSend
in files app/containers/Vaults/saga.js (+ triCryptoVaultMigratorContract.methods.migrate_to_new_vault.cacheSend,
) yvCurve-3Crypto
crvTricrypto
yvCurve-triCrypto
TRUSTED_MIGRATOR_ADDRESS
in files app/components/MigrateVault/index.js (-import { TRUSTED_MIGRATOR_ADDRESS } from 'containers/Vaults/constants';
), app/components/MigrateVault/index.js (+ TRUSTED_MIGRATOR_ADDRESS,
) TRICRYPTO_VAULT_MIGRATOR
in files app/components/MigrateVault/index.js (+ TRICRYPTO_VAULT_MIGRATOR,
), app/components/MigrateVault/index.js (+ const triCryptoVaultMigratorContract = useContract(TRICRYPTO_VAULT_MIGRATOR);
), app/containers/App/saga.js (+ TRICRYPTO_VAULT_MIGRATOR,
), app/containers/App/saga.js (+ addresses: [TRICRYPTO_VAULT_MIGRATOR],
), app/containers/App/saga.js (+ TRICRYPTO_VAULT_MIGRATOR,
), app/containers/Vaults/constants.js (+export const TRICRYPTO_VAULT_MIGRATOR =
), app/containers/Vaults/saga.js (+ TRICRYPTO_VAULT_MIGRATOR,
), app/containers/Vaults/saga.js (+ selectTokenAllowance(vaultContract.address, TRICRYPTO_VAULT_MIGRATOR),
) TRICRYPTO_VAULT
in files app/components/MigrateVault/index.js (+ TRICRYPTO_VAULT,
), app/components/MigrateVault/index.js (+ const isVaultTriCrypto = vaultAddress === TRICRYPTO_VAULT;
), app/components/Vault/index.js (- if (vault.address === TRICRYPTO_VAULT) {
), app/components/Vault/index.js (+ vault.address === TRICRYPTO_VAULT ||
), app/containers/App/saga.js (+ TRICRYPTO_VAULT,
), app/containers/App/saga.js (+ [TRICRYPTO_VAULT],
), app/containers/Vaults/selectors.js (+import { TRICRYPTO_VAULT } from './constants';
), app/containers/Vaults/selectors.js (+ (migration) => migration.vaultFrom === TRICRYPTO_VAULT,
) MIGRATE_TRYCRIPTO_VAULT
in files app/containers/Vaults/actions.js (+ type: c.MIGRATE_TRYCRIPTO_VAULT,
), app/containers/Vaults/constants.js (+export const MIGRATE_TRYCRIPTO_VAULT = 'MIGRATE_TRICRYPTO_VAULT';
), app/containers/Vaults/saga.js (+ MIGRATE_TRYCRIPTO_VAULT,
), app/containers/Vaults/saga.js (+ yield takeLatest(MIGRATE_TRYCRIPTO_VAULT, migrateTriCryptoVault);
) MIGRATE_TRICRYPTO_VAULT
in files app/containers/Vaults/constants.js (+export const MIGRATE_TRYCRIPTO_VAULT = 'MIGRATE_TRICRYPTO_VAULT';
) cacheSend
in files app/containers/Vaults/saga.js (+ triCryptoVaultMigratorContract.methods.migrate_to_new_vault.cacheSend,
) yvCurve-3Crypto
crvTricrypto
yvCurve-triCrypto
@xgambitox could we remove the blue box from the old crvTricrypto vault here:
The zap/migration from the UI works great, though! Awesome work, if you could just remove the extra blue warning box on the old vault and we should we good to merge :)
TRUSTED_MIGRATOR_ADDRESS
in files app/components/MigrateVault/index.js (-import { TRUSTED_MIGRATOR_ADDRESS } from 'containers/Vaults/constants';
), app/components/MigrateVault/index.js (+ TRUSTED_MIGRATOR_ADDRESS,
) TRICRYPTO_VAULT_MIGRATOR
in files app/components/MigrateVault/index.js (+ TRICRYPTO_VAULT_MIGRATOR,
), app/components/MigrateVault/index.js (+ const triCryptoVaultMigratorContract = useContract(TRICRYPTO_VAULT_MIGRATOR);
), app/containers/App/saga.js (+ TRICRYPTO_VAULT_MIGRATOR,
), app/containers/App/saga.js (+ addresses: [TRICRYPTO_VAULT_MIGRATOR],
), app/containers/App/saga.js (+ TRICRYPTO_VAULT_MIGRATOR,
), app/containers/Vaults/constants.js (+export const TRICRYPTO_VAULT_MIGRATOR =
), app/containers/Vaults/saga.js (+ TRICRYPTO_VAULT_MIGRATOR,
), app/containers/Vaults/saga.js (+ selectTokenAllowance(vaultContract.address, TRICRYPTO_VAULT_MIGRATOR),
) TRICRYPTO_VAULT
in files app/components/MigrateVault/index.js (+ TRICRYPTO_VAULT,
), app/components/MigrateVault/index.js (+ const isVaultTriCrypto = vaultAddress === TRICRYPTO_VAULT;
), app/components/Vault/index.js (- TRICRYPTO_VAULT,
), app/components/Vault/index.js (- if (vault.address === TRICRYPTO_VAULT) {
), app/containers/App/saga.js (+ TRICRYPTO_VAULT,
), app/containers/App/saga.js (+ [TRICRYPTO_VAULT],
), app/containers/Vaults/selectors.js (+import { TRICRYPTO_VAULT } from './constants';
), app/containers/Vaults/selectors.js (+ (migration) => migration.vaultFrom === TRICRYPTO_VAULT,
) MIGRATE_TRYCRIPTO_VAULT
in files app/containers/Vaults/actions.js (+ type: c.MIGRATE_TRYCRIPTO_VAULT,
), app/containers/Vaults/constants.js (+export const MIGRATE_TRYCRIPTO_VAULT = 'MIGRATE_TRICRYPTO_VAULT';
), app/containers/Vaults/saga.js (+ MIGRATE_TRYCRIPTO_VAULT,
), app/containers/Vaults/saga.js (+ yield takeLatest(MIGRATE_TRYCRIPTO_VAULT, migrateTriCryptoVault);
) MIGRATE_TRICRYPTO_VAULT
in files app/containers/Vaults/constants.js (+export const MIGRATE_TRYCRIPTO_VAULT = 'MIGRATE_TRICRYPTO_VAULT';
) cacheSend
in files app/containers/Vaults/saga.js (+ triCryptoVaultMigratorContract.methods.migrate_to_new_vault.cacheSend,
) yvCurve-3Crypto
crvTricrypto
yvCurve-triCrypto
Done. Removed the blue box just for the old crvTricrypto vault.