liquid-funding/app/utils/initialize.js
2018-12-01 09:31:04 -05:00

7 lines
241 B
JavaScript

export const initVaultAndLP = async (lp, vault) => {
const vaultInit = await vault.methods.initialize(lp._address).send()
console.log(vaultInit)
const lpInit = await lp.methods.initialize(vault._address).send()
console.log(lpInit)
}