Skip to content

Commit

Permalink
Add new combined Pendle PT proposal
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0neerpat committed Jul 25, 2024
1 parent 334d2f5 commit 7ff88f2
Show file tree
Hide file tree
Showing 9 changed files with 212 additions and 178 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,5 @@ docs/

# Dotenv file
.env

notes.md
67 changes: 67 additions & 0 deletions gov-input/mainnet/AddCollateral-PT-rETH-PT-wstETH.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{
"chainid": 42161,
"description": "New vault types PT-rETH-26JUN2025 PT-wstETH-26JUN2025",
"details": "# Overview\n\nThe DAO has decided to add PT-wstETH and PT-rETH the next new collateral. There has been discussion both in the discord and in the forum on this topic.\n\n# Discussion\n\nSee forum discussion https://commonwealth.im/open-dollar-governance/discussion/24074-collateral-expansion-to-add-pendle-ptreth-ptwsteth\n\n# Oracles\n\nWe have already deployed an oracle for Pendle PT collateral. The code for these new oracles can be found in [od-relayer-defi-integrations](https://github.com/open-dollar/od-relayer-defi-integrations/blob/v1.0.0/src/contracts/oracles/pendle/PendlePtToSyRelayer.sol). These oracles have not yet been audited. \n\n```\nMAINNET_DELAYED_PT_RETH_26JUN2025_USD_ORACLE = 0xC398dD38831a8f0f6C436137d07E0580d974269e;\nMAINNET_DELAYED_PT_WSTETH_26JUN2025_USD_ORACLE = 0x0a77069A8d1E7fd7B49222BF2B1d1d4687C1177B;\n```\n\n# Details\n\nAdding a new collateral to the system requires deploying multiple contracts and calling functions on existing ones to initialize the new collateral.\n\nEach collateral has it's own set of parameters that define how it interacts with the rest of the Open Dollar system.\n\nAn explanation of parameters can be found in the following document.\n\n[Open Dollar Protocol Parameters](https://build.opendollar.com/Open-Dollar-Protocol-Parameters-bdd5be16b5774ce1b8f8a167be1ad3e9?pvs=4)\n\n\n---\n\nTo create your own proposal use the CLI tool [`od-governance-manager`](https://github.com/open-dollar/od-governance-manager) and submit a PR.\n\n",
"network": "mainnet",
"proposalType": "TargetsAndCalldata",
"ODGovernor_Address": "",
"objectArray": [
{
"target": "0xa83c0f1e9eD8E383919Dde0fC90744ae370EB7B3",
"calldata": "0x26e1666550542d724554482d32364a554e32303235000000000000000000000000000000000000000000000000000000685155d3bd593508fe32be39729810a591ed9c87"
},
{
"target": "0x5dc1E86361faC018f24Ae0D1E5eB01D70AB32A82",
"calldata": "0x34463c6050542d724554482d32364a554e32303235000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000056bc75e2d631000000000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000bcbce7f1b1500000000000000000000000000000000000000000000033b2b383ec254bdcf6c0000"
},
{
"target": "0xEff45E8e2353893BD0558bD5892A42786E9142F1",
"calldata": "0x34463c6050542d724554482d32364a554e32303235000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000400000000000000000000001561d276ddfdc00a71dd41a08f48af400000000000000000000000000000000000023084f676940b7915149bd08b30d000000000000"
},
{
"target": "0xc93F938A95488a03b976A15B20fAcFD52D087fB2",
"calldata": "0x34463c6050542d724554482d32364a554e32303235000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000033b2e3cacd20caa55e8c8f0"
},
{
"target": "0x17e546dDCE2EA8A74Bd667269457A2e80b309965",
"calldata": "0x34463c6050542d724554482d32364a554e32303235000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000600000000000000000000000002cc2d6b1027e4d56d6c73dfb8624142f6ac478d5000000000000000000000000000000000000000000000000d02ab486cedc0000000000000000000000000022361d8afcc93343e962029a7edab2000000000000"
},
{
"target": "0x7404fc1F3796748FAE17011b57Fad9713185c1d6",
"calldata": "0x34463c6050542d724554482d32364a554e3230323500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000c398dd38831a8f0f6c436137d07e0580d974269e0000000000000000000000000000000000000000045cb19ea48cad1f060000000000000000000000000000000000000000000000043355b53628a6b594000000"
},
{
"target": "0xc93F938A95488a03b976A15B20fAcFD52D087fB2",
"calldata": "0x12f3352650542d724554482d32364a554e323032350000000000000000000000000000007365636f6e646172795461785265636569766572000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000600000000000000000000000009c86c719aa29d426c50ee3baed40008d292b02cf000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000006f05b59d3b20000"
},
{
"target": "0xa83c0f1e9eD8E383919Dde0fC90744ae370EB7B3",
"calldata": "0x26e1666550542d7773744554482d32364a554e32303235000000000000000000000000000000000000000000000000001255638efeca62e12e344e0b6b22ea853ec6e2c7"
},
{
"target": "0x5dc1E86361faC018f24Ae0D1E5eB01D70AB32A82",
"calldata": "0x34463c6050542d7773744554482d32364a554e3230323500000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000056bc75e2d631000000000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000bcbce7f1b1500000000000000000000000000000000000000000000033b2b383ec254bdcf6c0000"
},
{
"target": "0xEff45E8e2353893BD0558bD5892A42786E9142F1",
"calldata": "0x34463c6050542d7773744554482d32364a554e3230323500000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000400000000000000000000001561d276ddfdc00a71dd41a08f48af400000000000000000000000000000000000023084f676940b7915149bd08b30d000000000000"
},
{
"target": "0xc93F938A95488a03b976A15B20fAcFD52D087fB2",
"calldata": "0x34463c6050542d7773744554482d32364a554e3230323500000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000033b2e3cacd20caa55e8c8f0"
},
{
"target": "0x17e546dDCE2EA8A74Bd667269457A2e80b309965",
"calldata": "0x34463c6050542d7773744554482d32364a554e323032350000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000d5bf49be72d6c2dbab744086cd879c18b8071e65000000000000000000000000000000000000000000000000d02ab486cedc0000000000000000000000000022361d8afcc93343e962029a7edab2000000000000"
},
{
"target": "0x7404fc1F3796748FAE17011b57Fad9713185c1d6",
"calldata": "0x34463c6050542d7773744554482d32364a554e3230323500000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000a77069a8d1e7fd7b49222bf2b1d1d4687c1177b0000000000000000000000000000000000000000045cb19ea48cad1f060000000000000000000000000000000000000000000000043355b53628a6b594000000"
},
{
"target": "0xc93F938A95488a03b976A15B20fAcFD52D087fB2",
"calldata": "0x12f3352650542d7773744554482d32364a554e32303235000000000000000000000000007365636f6e646172795461785265636569766572000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000600000000000000000000000009c86c719aa29d426c50ee3baed40008d292b02cf000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000006f05b59d3b20000"
}
],
"arrayLength": "14"
}
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@
"canTakeBackTax": true,
"taxPercentage": "500000000000000000"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"stabilityFee": "1000000000937184599093070064"
},
"LiquidationEngineCollateralParams": {
"newCAHChild": "0x2cC2D6b1027E4d56D6C73dFb8624142F6ac478D5",
"newCAHChild": "0xd5Bf49BE72D6c2dbaB744086cD879C18b8071E65",
"liquidationPenalty": "15000000000000000000",
"liquidationQuantity": "50000000000000000000000000000000000000000000000000"
},
Expand Down
73 changes: 0 additions & 73 deletions gov-output/mainnet/add-collateral-7_24_2024-109195524.json

This file was deleted.

73 changes: 0 additions & 73 deletions gov-output/mainnet/add-collateral-7_24_2024-78039867.json

This file was deleted.

Loading

0 comments on commit 7ff88f2

Please sign in to comment.