Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: add updated issuance dependencies #183

Merged
merged 3 commits into from
Aug 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
875 changes: 875 additions & 0 deletions external/abi/set/CustomOracleNavIssuanceModule.json

Large diffs are not rendered by default.

579 changes: 579 additions & 0 deletions external/abi/set/DebtIssuanceModuleV3.json

Large diffs are not rendered by default.

102 changes: 102 additions & 0 deletions external/abi/set/ERC4626Oracle.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
{
"_format": "hh-sol-artifact-1",
"contractName": "ERC4626Oracle",
"sourceName": "contracts/protocol/integration/oracles/ERC4626Oracle.sol",
"abi": [
{
"inputs": [
{
"internalType": "contract IERC4626",
"name": "_vault",
"type": "address"
},
{
"internalType": "uint256",
"name": "_underlyingFullUnit",
"type": "uint256"
},
{
"internalType": "string",
"name": "_dataDescription",
"type": "string"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [],
"name": "dataDescription",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function",
"gas": "0xa7d8c0"
},
{
"inputs": [],
"name": "read",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function",
"gas": "0xa7d8c0"
},
{
"inputs": [],
"name": "underlyingFullUnit",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function",
"gas": "0xa7d8c0"
},
{
"inputs": [],
"name": "vault",
"outputs": [
{
"internalType": "contract IERC4626",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function",
"gas": "0xa7d8c0"
},
{
"inputs": [],
"name": "vaultFullUnit",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function",
"gas": "0xa7d8c0"
}
],
"bytecode": "0x60e06040523480156200001157600080fd5b50604051620008b7380380620008b78339810160408190526200003491620000ed565b6001600160a01b03831660805260006200004f82826200027b565b508160a08181525050826001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000097573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000bd919062000347565b620000ca90600a62000488565b60c0525062000499915050565b634e487b7160e01b600052604160045260246000fd5b6000806000606084860312156200010357600080fd5b83516001600160a01b03811681146200011b57600080fd5b60208581015160408701519295509350906001600160401b03808211156200014257600080fd5b818701915087601f8301126200015757600080fd5b8151818111156200016c576200016c620000d7565b604051601f8201601f19908116603f01168101908382118183101715620001975762000197620000d7565b816040528281528a86848701011115620001b057600080fd5b600093505b82841015620001d45784840186015181850187015292850192620001b5565b60008684830101528096505050505050509250925092565b600181811c908216806200020157607f821691505b6020821081036200022257634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200027657600081815260208120601f850160051c81016020861015620002515750805b601f850160051c820191505b8181101562000272578281556001016200025d565b5050505b505050565b81516001600160401b03811115620002975762000297620000d7565b620002af81620002a88454620001ec565b8462000228565b602080601f831160018114620002e75760008415620002ce5750858301515b600019600386901b1c1916600185901b17855562000272565b600085815260208120601f198616915b828110156200031857888601518255948401946001909101908401620002f7565b5085821015620003375787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200035a57600080fd5b815160ff811681146200036c57600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620003ca578160001904821115620003ae57620003ae62000373565b80851615620003bc57918102915b93841c93908002906200038e565b509250929050565b600082620003e35750600162000482565b81620003f25750600062000482565b81600181146200040b5760028114620004165762000436565b600191505062000482565b60ff8411156200042a576200042a62000373565b50506001821b62000482565b5060208310610133831016604e8410600b84101617156200045b575081810a62000482565b62000467838362000389565b80600019048211156200047e576200047e62000373565b0290505b92915050565b60006200036c60ff841683620003d2565b60805160a05160c0516103d5620004e26000396000818160b80152818161012801526101ee015260008181609101526101ca01526000818160df015261015b01526103d56000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c806357de26a41461005c57806358d65629146100775780636cf641c61461008c578063eb8dd5b6146100b3578063fbfa77cf146100da575b600080fd5b610064610119565b6040519081526020015b60405180910390f35b61007f610223565b60405161006e91906102b1565b6100647f000000000000000000000000000000000000000000000000000000000000000081565b6100647f000000000000000000000000000000000000000000000000000000000000000081565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161006e565b6040516303d1689d60e11b81527f0000000000000000000000000000000000000000000000000000000000000000600482015260009081906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906307a2d13a90602401602060405180830381865afa1580156101a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101c691906102ff565b90507f00000000000000000000000000000000000000000000000000000000000000006102137f000000000000000000000000000000000000000000000000000000000000000083610318565b61021d9190610343565b91505090565b6000805461023090610365565b80601f016020809104026020016040519081016040528092919081815260200182805461025c90610365565b80156102a95780601f1061027e576101008083540402835291602001916102a9565b820191906000526020600020905b81548152906001019060200180831161028c57829003601f168201915b505050505081565b600060208083528351808285015260005b818110156102de578581018301518582016040015282016102c2565b506000604082860101526040601f19601f8301168501019250505092915050565b60006020828403121561031157600080fd5b5051919050565b808202811582820484141761033d57634e487b7160e01b600052601160045260246000fd5b92915050565b60008261036057634e487b7160e01b600052601260045260246000fd5b500490565b600181811c9082168061037957607f821691505b60208210810361039957634e487b7160e01b600052602260045260246000fd5b5091905056fea264697066735822122029740a6b8475c392ae3ae307c4ad7d7946511b15450337995ae9c7bccafc37ef64736f6c63430008110033",
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100575760003560e01c806357de26a41461005c57806358d65629146100775780636cf641c61461008c578063eb8dd5b6146100b3578063fbfa77cf146100da575b600080fd5b610064610119565b6040519081526020015b60405180910390f35b61007f610223565b60405161006e91906102b1565b6100647f000000000000000000000000000000000000000000000000000000000000000081565b6100647f000000000000000000000000000000000000000000000000000000000000000081565b6101017f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161006e565b6040516303d1689d60e11b81527f0000000000000000000000000000000000000000000000000000000000000000600482015260009081906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906307a2d13a90602401602060405180830381865afa1580156101a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101c691906102ff565b90507f00000000000000000000000000000000000000000000000000000000000000006102137f000000000000000000000000000000000000000000000000000000000000000083610318565b61021d9190610343565b91505090565b6000805461023090610365565b80601f016020809104026020016040519081016040528092919081815260200182805461025c90610365565b80156102a95780601f1061027e576101008083540402835291602001916102a9565b820191906000526020600020905b81548152906001019060200180831161028c57829003601f168201915b505050505081565b600060208083528351808285015260005b818110156102de578581018301518582016040015282016102c2565b506000604082860101526040601f19601f8301168501019250505092915050565b60006020828403121561031157600080fd5b5051919050565b808202811582820484141761033d57634e487b7160e01b600052601160045260246000fd5b92915050565b60008261036057634e487b7160e01b600052601260045260246000fd5b500490565b600181811c9082168061037957607f821691505b60208210810361039957634e487b7160e01b600052602260045260246000fd5b5091905056fea264697066735822122029740a6b8475c392ae3ae307c4ad7d7946511b15450337995ae9c7bccafc37ef64736f6c63430008110033",
"linkReferences": {},
"deployedLinkReferences": {}
}
64 changes: 64 additions & 0 deletions external/abi/set/OracleMock.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"_format": "hh-sol-artifact-1",
"contractName": "OracleMock",
"sourceName": "contracts/mocks/OracleMock.sol",
"abi": [
{
"inputs": [
{
"internalType": "uint256",
"name": "_startingPrice",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [],
"name": "price",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function",
"gas": "0xa7d8c0"
},
{
"inputs": [],
"name": "read",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function",
"gas": "0xa7d8c0"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_newPrice",
"type": "uint256"
}
],
"name": "updatePrice",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
"gas": "0xa7d8c0"
}
],
"bytecode": "0x608060405234801561001057600080fd5b506040516101083803806101088339818101604052602081101561003357600080fd5b505160005560c2806100466000396000f3fe6080604052348015600f57600080fd5b5060043610603c5760003560e01c806357de26a41460415780638d6cc56d146059578063a035b1fe146075575b600080fd5b6047607b565b60408051918252519081900360200190f35b607360048036036020811015606d57600080fd5b50356081565b005b60476086565b60005490565b600055565b6000548156fea26469706673582212205c1cdbb033c8513a67e034cf473bc0e5f4fbf58809ab45e0ef983ae907fdd4f064736f6c634300060a0033",
"deployedBytecode": "0x6080604052348015600f57600080fd5b5060043610603c5760003560e01c806357de26a41460415780638d6cc56d146059578063a035b1fe146075575b600080fd5b6047607b565b60408051918252519081900360200190f35b607360048036036020811015606d57600080fd5b50356081565b005b60476086565b60005490565b600055565b6000548156fea26469706673582212205c1cdbb033c8513a67e034cf473bc0e5f4fbf58809ab45e0ef983ae907fdd4f064736f6c634300060a0033",
"linkReferences": {},
"deployedLinkReferences": {}
}
50 changes: 50 additions & 0 deletions external/abi/set/PreciseUnitOracle.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"_format": "hh-sol-artifact-1",
"contractName": "PreciseUnitOracle",
"sourceName": "contracts/protocol/integration/oracles/PreciseUnitOracle.sol",
"abi": [
{
"inputs": [
{
"internalType": "string",
"name": "_dataDescription",
"type": "string"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [],
"name": "dataDescription",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function",
"gas": "0xa7d8c0"
},
{
"inputs": [],
"name": "read",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "pure",
"type": "function",
"gas": "0xa7d8c0"
}
],
"bytecode": "0x608060405234801561001057600080fd5b506040516103583803806103588339818101604052602081101561003357600080fd5b810190808051604051939291908464010000000082111561005357600080fd5b90830190602082018581111561006857600080fd5b825164010000000081118282018810171561008257600080fd5b82525081516020918201929091019080838360005b838110156100af578181015183820152602001610097565b50505050905090810190601f1680156100dc5780820380516001836020036101000a031916815260200191505b50604052505081516100f6915060009060208401906100fd565b5050610198565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061013e57805160ff191683800117855561016b565b8280016001018555821561016b579182015b8281111561016b578251825591602001919060010190610150565b5061017792915061017b565b5090565b61019591905b808211156101775760008155600101610181565b90565b6101b1806101a76000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806357de26a41461003b57806358d6562914610055575b600080fd5b6100436100d2565b60408051918252519081900360200190f35b61005d6100e1565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561009757818101518382015260200161007f565b50505050905090810190601f1680156100c45780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b60006100dc61016f565b905090565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156101675780601f1061013c57610100808354040283529160200191610167565b820191906000526020600020905b81548152906001019060200180831161014a57829003601f168201915b505050505081565b670de0b6b3a76400009056fea26469706673582212209ab59efe6d709a1b1941f523fb188a5ea6954c970398ad1c459dbf1e51d026f764736f6c634300060a0033",
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100365760003560e01c806357de26a41461003b57806358d6562914610055575b600080fd5b6100436100d2565b60408051918252519081900360200190f35b61005d6100e1565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561009757818101518382015260200161007f565b50505050905090810190601f1680156100c45780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b60006100dc61016f565b905090565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156101675780601f1061013c57610100808354040283529160200191610167565b820191906000526020600020905b81548152906001019060200180831161014a57829003601f168201915b505050505081565b670de0b6b3a76400009056fea26469706673582212209ab59efe6d709a1b1941f523fb188a5ea6954c970398ad1c459dbf1e51d026f764736f6c634300060a0033",
"linkReferences": {},
"deployedLinkReferences": {}
}
Loading
Loading