Skip to content

Commit

Permalink
merge in develop mostly just substream
Browse files Browse the repository at this point in the history
  • Loading branch information
ethereumdegen committed Oct 15, 2024
2 parents 4f520eb + 88e6207 commit c457fbd
Show file tree
Hide file tree
Showing 64 changed files with 31,194 additions and 1,612 deletions.
10 changes: 10 additions & 0 deletions packages/contracts/.openzeppelin/polygon.json
Original file line number Diff line number Diff line change
Expand Up @@ -10201,6 +10201,16 @@
},
"namespaces": {}
}
},
"33c24239caaac3fd3611b9deee3e2930bce76470c3edd1f73c25f36cbd55374c": {
"address": "0x98eEbd694eE24935615BF18bA1ae75B2E486487f",
"txHash": "0x80a9cdf4b47ba1eb757cab185f642294a4cf72f6884de435c7e989916df05c49",
"layout": {
"solcVersion": "0.8.9",
"storage": [],
"types": {},
"namespaces": {}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,14 @@ contract LoanReferralForwarder
}


event CommitmentAcceptedWithReferral(
uint256 indexed bidId,
address indexed recipient,
uint256 fundsRemaining,
uint256 reward,
address rewardRecipient
);

/**
*
* @notice Initializes the FlashRolloverLoan with necessary contract addresses.
Expand Down Expand Up @@ -141,7 +149,8 @@ contract LoanReferralForwarder
);



emit CommitmentAcceptedWithReferral(bidId_, _recipient, fundsRemaining, _reward, _rewardRecipient);


}

Expand Down
10 changes: 5 additions & 5 deletions packages/contracts/deploy/upgrades/13_upgrade_widget_rewards.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ deployFn.skip = async (hre) => {
!hre.network.live ||
![
'localhost',
// 'polygon',
// 'arbitrum',
// 'base',
// 'mainnet',
// 'sepolia'
'polygon',
'arbitrum',
'base',
'mainnet',
'sepolia'

].includes(hre.network.name)
)
Expand Down
3 changes: 2 additions & 1 deletion packages/contracts/deployments/polygon/.migrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,6 @@
"teller-v2:pausing-upgrade": 1727280937,
"lender-commitment-group-factory:upgrade-multihop": 1727465789,
"smart-commitment-forwarder:upgrade-pausing": 1727811173,
"lender-commitment-group-beacon:upgrade": 1728403000
"lender-commitment-group-beacon:upgrade": 1728403000,
"loan-referral-forwarder:upgrade_1": 1729024662
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,38 @@
}
]
},
{
"type": "event",
"anonymous": false,
"name": "CommitmentAcceptedWithReferral",
"inputs": [
{
"type": "uint256",
"name": "bidId",
"indexed": true
},
{
"type": "address",
"name": "recipient",
"indexed": true
},
{
"type": "uint256",
"name": "fundsRemaining",
"indexed": false
},
{
"type": "uint256",
"name": "reward",
"indexed": false
},
{
"type": "address",
"name": "rewardRecipient",
"indexed": false
}
]
},
{
"type": "function",
"name": "TELLER_V2",
Expand Down Expand Up @@ -106,6 +138,6 @@
"blockHash": null,
"blockNumber": null
},
"numDeployments": 1,
"numDeployments": 2,
"implementation": "0xc15141287164375341CDfE856861776f0b16cCBb"
}
10 changes: 9 additions & 1 deletion packages/subgraph-substreamed/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,21 @@ substreams pack ./substreams.yaml

#### DEPLOYING

62350000

make && make build && make pack


graph auth --studio
graph deploy --studio tellerv2-lender-groups-polygon

0.4.21.91
0.4.21.114



### CHECK THE STATUS

https://api.studio.thegraph.com/query/36377/tellerv2-lender-groups-polygon/0.4.21.103/graphql



Expand Down
Loading

0 comments on commit c457fbd

Please sign in to comment.