Skip to content

Commit

Permalink
deployed new atm contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
ethereumdegen committed Jan 29, 2025
1 parent 20c4f48 commit 4bceb16
Show file tree
Hide file tree
Showing 4 changed files with 704 additions and 1 deletion.
30 changes: 30 additions & 0 deletions packages/contracts/.openzeppelin/polygon.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,16 @@
"address": "0x61F3673CAD0B99Ec18E6Dc242eE67f0ea48CD227",
"txHash": "0xeed24b08837f0526be09f3afe11e0ba98a5db955e7ef6415076653d3e7c4757a",
"kind": "transparent"
},
{
"address": "0x905BF03956416fC02494A55d44f6A84E5703311a",
"txHash": "0xe8d969fe884f614982b596da4c09b0e602fcf03943c293198ad28deaa38ed3d4",
"kind": "transparent"
},
{
"address": "0x9d337576FB254DcDBea229b5105611004D41FeB2",
"txHash": "0xd6469c0891057adde864e4fbd419efa3e01757dcd3cb742f050848f44c3a9451",
"kind": "transparent"
}
],
"impls": {
Expand Down Expand Up @@ -20021,6 +20031,26 @@
"types": {},
"namespaces": {}
}
},
"fcdecb4bcb2c746b9feb7823b85d79c3457e4e2358d535a60e505a20777dde6d": {
"address": "0x4A4aeDb075669cFB18E46e41231d121183DED42C",
"txHash": "0x1621738ca047d633e4adfdfb7ef6219491da7a51509e7ec9526be5f4ca0f7f22",
"layout": {
"solcVersion": "0.8.11",
"storage": [],
"types": {},
"namespaces": {}
}
},
"1311ac40801c2ead8adf02d3a3e9626f21f404fe5233e08e18f639433414e5b8": {
"address": "0x5f53f8ae7AbA383E3155B026721E10007CDfaCdB",
"txHash": "0xd61314c0eaaf8fad091008e2cd7671b1a0228d9d19e49d2b2c053c6794a3d737",
"layout": {
"solcVersion": "0.8.11",
"storage": [],
"types": {},
"namespaces": {}
}
}
}
}
4 changes: 3 additions & 1 deletion packages/contracts/deployments/polygon/.migrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,7 @@
"lender-commitment-group-beacon:deploy": 1735927754,
"lender-commitment-group-factory:deploy": 1735927765,
"validate-deployments": 1736184844,
"lender-commitment-forwarder:alpha:upgrade_max_principal": 1736275629
"lender-commitment-forwarder:alpha:upgrade_max_principal": 1736275629,
"lender-commitment-forwarder:extensions:flash-swap-rollover:deploy": 1738183011,
"lender-commitment-forwarder:extensions:loan-referral-forwarder-v2:deploy": 1738183025
}
157 changes: 157 additions & 0 deletions packages/contracts/deployments/polygon/LoanReferralForwarderV2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
{
"address": "0x9d337576FB254DcDBea229b5105611004D41FeB2",
"abi": [
{
"type": "constructor",
"stateMutability": "undefined",
"payable": false,
"inputs": [
{
"type": "address",
"name": "_tellerV2"
}
]
},
{
"type": "event",
"anonymous": false,
"name": "CommitmentAcceptedWithReward",
"inputs": [
{
"type": "uint256",
"name": "bidId",
"indexed": true
},
{
"type": "address",
"name": "recipient",
"indexed": true
},
{
"type": "address",
"name": "principalTokenAddress",
"indexed": false
},
{
"type": "uint256",
"name": "fundsRemaining",
"indexed": false
},
{
"type": "uint256",
"name": "reward",
"indexed": false
},
{
"type": "address",
"name": "rewardRecipient",
"indexed": false
},
{
"type": "uint256",
"name": "atmId",
"indexed": false
}
]
},
{
"type": "function",
"name": "TELLER_V2",
"constant": true,
"stateMutability": "view",
"payable": false,
"inputs": [],
"outputs": [
{
"type": "address",
"name": ""
}
]
},
{
"type": "function",
"name": "acceptCommitmentWithReferral",
"constant": false,
"payable": false,
"inputs": [
{
"type": "address",
"name": "_commitmentForwarder"
},
{
"type": "tuple",
"name": "_acceptCommitmentArgs",
"components": [
{
"type": "uint256",
"name": "commitmentId"
},
{
"type": "address",
"name": "smartCommitmentAddress"
},
{
"type": "uint256",
"name": "principalAmount"
},
{
"type": "uint256",
"name": "collateralAmount"
},
{
"type": "uint256",
"name": "collateralTokenId"
},
{
"type": "address",
"name": "collateralTokenAddress"
},
{
"type": "uint16",
"name": "interestRate"
},
{
"type": "uint32",
"name": "loanDuration"
},
{
"type": "bytes32[]",
"name": "merkleProof"
}
]
},
{
"type": "uint256",
"name": "_atmId"
},
{
"type": "address",
"name": "_recipient"
},
{
"type": "uint256",
"name": "_reward"
},
{
"type": "address",
"name": "_rewardRecipient"
}
],
"outputs": [
{
"type": "uint256",
"name": "bidId_"
}
]
}
],
"transactionHash": "0xd6469c0891057adde864e4fbd419efa3e01757dcd3cb742f050848f44c3a9451",
"receipt": {
"to": null,
"from": "0xD9B023522CeCe02251d877bb0EB4f06fDe6F98E6",
"blockHash": null,
"blockNumber": null
},
"numDeployments": 1,
"implementation": "0x5f53f8ae7AbA383E3155B026721E10007CDfaCdB"
}
Loading

0 comments on commit 4bceb16

Please sign in to comment.