mirror of
https://github.com/status-im/liquid-funding.git
synced 2025-01-14 21:44:17 +00:00
7 lines
241 B
JavaScript
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)
|
|
}
|