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
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.6; | |
import /* {*} from */ "./helpers/TestBaseWorkflow.sol"; | |
contract TestSplitStore_Local is TestBaseWorkflow { | |
IJBController3_1 private _controller; | |
JBProjectMetadata private _projectMetadata; | |
JBFundingCycleData private _data; | |
JBFundingCycleMetadata private _metadata; |
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
async updatecache(lastBlock: number, reserves: Reserve[]) { | |
let aaveOrigin = lastBlock; | |
const current = await this.provider.getBlockNumber(); | |
// 3000 block range for RPC limits | |
const iterations = Math.floor((current - aaveOrigin) / 3000); | |
const promises = []; |
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
[ | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "collateralAsset", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", |