Skip to content

Commit

Permalink
chore: update json
Browse files Browse the repository at this point in the history
  • Loading branch information
wow-alpaca committed Mar 15, 2024
1 parent 0cea147 commit 5ed2938
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contracts.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,4 @@
"AP": "0x2Fb74F8E1e9EFaEEc31e57946e0C1bC6853ca4f1",
"rewardToken": "0xb0188B0bb2cD4a6D2744637fC83C94a284B247Da"
}
}
}
1 change: 1 addition & 0 deletions contracts.tenderly.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
"TradeMining": {
"tradeMiningManager": "0x480DC16F44401235E20f849384f764f50B3Adb46",
"paradeen": "0x06ed8e9DD7e3CAee9461145Cc8D7747d0Da23b21",
"pythParadeen": "",
"AP": "0xF12Ef0f68521761192e04343a013980947223Ca3",
"rewardToken": "0x55d398326f99059fF775485246999027B3197955"
}
Expand Down
4 changes: 2 additions & 2 deletions deploy/trade-mining/paradeen-feed-pyth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
// contracts
const ap = AP__factory.connect(config.TradeMining.AP, ethers.provider);
const paradeen = Paradeen__factory.connect(
config.TradeMining.paradeen,
config.TradeMining.pythParadeen,
signer
);

Expand Down Expand Up @@ -50,7 +50,7 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
console.log(`> Trading fee collected: ${formatEther(tradingFeeCollected)}`);
console.log(`> Pyth price: ${formatEther(pythPrice)}\n`);

let amountToFeed = BigNumber.from(0);
let amountToFeed: BigNumber;

if (tradingFeeCollected.lt(weeklyFeeThreshold)) {
console.log(
Expand Down

0 comments on commit 5ed2938

Please sign in to comment.