-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
19 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
const { compoundExports2 } = require("../helper/compound"); | ||
|
||
module.exports = { | ||
mode: compoundExports2({ | ||
comptroller: '0x86112d3176c537B953560EA6fE43f79382E7bffE', | ||
}) | ||
} |
35 changes: 12 additions & 23 deletions
35
projects/Netweave Finance/index.js → projects/netweave-vault/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,12 @@ | ||
const { compoundExports2 } = require("../helper/compound"); | ||
const { mergeExports } = require("../helper/utils") | ||
const { yieldHelper } = require("../helper/yieldHelper") | ||
|
||
const weave_lending = compoundExports2({ | ||
comptroller: '0x86112d3176c537B953560EA6fE43f79382E7bffE', | ||
}) | ||
|
||
const vault = '0x28d46E6A97273865561142124056eb3243568d3C' | ||
const abis = { | ||
poolInfo: 'function poolInfo(uint256) view returns (address want, uint256 allocPoint, uint256 lastRewardTime, uint256 accSushiPerShare, uint256 amount, address strat)', | ||
} | ||
const weave_vault = yieldHelper({ | ||
project: 'NetWeave', | ||
chain: 'mode', | ||
masterchef: vault, | ||
abis, | ||
}) | ||
|
||
module.exports = mergeExports([ | ||
{ mode: weave_lending }, | ||
weave_vault, | ||
]) | ||
const { yieldHelper } = require("../helper/yieldHelper") | ||
|
||
const vault = '0x28d46E6A97273865561142124056eb3243568d3C' | ||
const abis = { | ||
poolInfo: 'function poolInfo(uint256) view returns (address want, uint256 allocPoint, uint256 lastRewardTime, uint256 accSushiPerShare, uint256 amount, address strat)', | ||
} | ||
module.exports = yieldHelper({ | ||
project: 'NetWeave', | ||
chain: 'mode', | ||
masterchef: vault, | ||
abis, | ||
}) |