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

artifacts #247

Merged
merged 1 commit into from
Feb 5, 2025
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
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"_format": "sphinx-sol-ct-artifact-1",
"merkleRoot": "0x1f2926da17406e09507841caac45ddded67c701d385353ca49cdfadef7986271",
"address": "0xee122c1d534731f3ead3c5732681e6f13bbae019",
"merkleRoot": "0x4d5a6fa0ab8571f2d2c5e615742ddf9dce99dfa4c9938c2a28724e879fb044a5",
"address": "0xf360f8308c78a1ff54156f3c7c0996e23a1ab13b",
"sourceName": "src/JBChainlinkV3PriceFeed.sol",
"contractName": "JBChainlinkV3PriceFeed",
"chainId": "0x66eee",
Expand Down Expand Up @@ -106,9 +106,9 @@
}
],
"args": [],
"solcInputHash": "d00414ca8c552a4c90a379a4bd430f8f",
"solcInputHash": "6ecf2692c6618628afcdbb45502b4ac6",
"bytecode": "0x60c060405234801561001057600080fd5b5060405161062a38038061062a83398101604081905261002f91610045565b6001600160a01b0390911660805260a05261007f565b6000806040838503121561005857600080fd5b82516001600160a01b038116811461006f57600080fd5b6020939093015192949293505050565b60805160a05161056d6100bd60003960008181608f0152818161015e01526101a3015260008181604b0152818160d40152610224015261056d6000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80630beaf38c14610046578063785ffb371461008a578063d3f5c15f146100bf575b600080fd5b61006d7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b6100b17f000000000000000000000000000000000000000000000000000000000000000081565b604051908152602001610081565b6100b16100cd366004610321565b60008060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa158015610130573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101549190610359565b50935050925050807f000000000000000000000000000000000000000000000000000000000000000061018791906103bf565b4211156101db576040516352b4aba960e11b81524260048201527f00000000000000000000000000000000000000000000000000000000000000006024820152604481018290526064015b60405180910390fd5b806000036101fc57604051631d70a56560e01b815260040160405180910390fd5b600082136102205760405163e374febf60e01b8152600481018390526024016101d2565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610280573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102a491906103d8565b60ff1690506102b48382876102bd565b95945050505050565b60008282036102cd57508261031a565b828211156102fb576102df83836103fb565b6102ea90600a6104f2565b6102f490856104fe565b905061031a565b61030582846103fb565b61031090600a6104f2565b6102f49085610515565b9392505050565b60006020828403121561033357600080fd5b5035919050565b805169ffffffffffffffffffff8116811461035457600080fd5b919050565b600080600080600060a0868803121561037157600080fd5b61037a8661033a565b945060208601519350604086015192506060860151915061039d6080870161033a565b90509295509295909350565b634e487b7160e01b600052601160045260246000fd5b808201808211156103d2576103d26103a9565b92915050565b6000602082840312156103ea57600080fd5b815160ff8116811461031a57600080fd5b818103818111156103d2576103d26103a9565b600181815b8085111561044957816000190482111561042f5761042f6103a9565b8085161561043c57918102915b93841c9390800290610413565b509250929050565b600082610460575060016103d2565b8161046d575060006103d2565b8160018114610483576002811461048d576104a9565b60019150506103d2565b60ff84111561049e5761049e6103a9565b50506001821b6103d2565b5060208310610133831016604e8410600b84101617156104cc575081810a6103d2565b6104d6838361040e565b80600019048211156104ea576104ea6103a9565b029392505050565b600061031a8383610451565b80820281158282048414176103d2576103d26103a9565b60008261053257634e487b7160e01b600052601260045260246000fd5b50049056fea2646970667358221220b71453fba55d9fd3c1110a869aa638b611575632fd5087e3709f0c6cfe2620fc64736f6c63430008170033",
"deployedBytecode": "0x",
"metadata": "{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract AggregatorV3Interface\",\"name\":\"feed\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"threshold\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"JBChainlinkV3PriceFeed_IncompleteRound\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"price\",\"type\":\"int256\"}],\"name\":\"JBChainlinkV3PriceFeed_NegativePrice\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"threshold\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"updatedAt\",\"type\":\"uint256\"}],\"name\":\"JBChainlinkV3PriceFeed_StalePrice\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FEED\",\"outputs\":[{\"internalType\":\"contract AggregatorV3Interface\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"THRESHOLD\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"decimals\",\"type\":\"uint256\"}],\"name\":\"currentUnitPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"constructor\":{\"params\":{\"feed\":\"The Chainlink feed to report prices from.\",\"threshold\":\"How many seconds old a price update may be.\"}},\"currentUnitPrice(uint256)\":{\"params\":{\"decimals\":\"The number of decimals the return value should use.\"},\"returns\":{\"_0\":\"The current unit price from the feed, as a fixed point number with the specified number of decimals.\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"FEED()\":{\"notice\":\"The Chainlink feed that prices are reported from.\"},\"THRESHOLD()\":{\"notice\":\"How many seconds old a Chainlink price update is allowed to be before considered \\\"stale\\\".\"},\"currentUnitPrice(uint256)\":{\"notice\":\"Gets the current price (per 1 unit) from the feed.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/JBChainlinkV3PriceFeed.sol\":\"JBChainlinkV3PriceFeed\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\"@arbitrum/=node_modules/@arbitrum/\",\"@bananapus/=node_modules/@bananapus/\",\"@chainlink/=node_modules/@chainlink/\",\"@eth-optimism/=node_modules/@eth-optimism/\",\"@offchainlabs/=node_modules/@offchainlabs/\",\"@openzeppelin/=node_modules/@openzeppelin/\",\"@prb/=node_modules/@prb/\",\"@scroll-tech/=node_modules/@scroll-tech/\",\"@sphinx-labs/contracts/=lib/sphinx/packages/contracts/contracts/foundry/\",\"@uniswap/=node_modules/@uniswap/\",\"@zksync/=node_modules/@zksync/\",\"ds-test/=lib/forge-std/lib/ds-test/src/\",\"forge-std/=lib/forge-std/src/\",\"hardhat/=node_modules/hardhat/\",\"solmate/=node_modules/solmate/\",\"sphinx/=lib/sphinx/packages/contracts/contracts/forge-std/src/\"]},\"sources\":{\"node_modules/@chainlink/contracts/src/v0.8/shared/interfaces/AggregatorV3Interface.sol\":{\"keccak256\":\"0x257a8d28fa83d3d942547c8e129ef465e4b5f3f31171e7be4739a4c98da6b4f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6d39e11b1dc7b9b8ccdabbc9be442ab7cda4a81c748f57e316dcb1bcb4a28bf9\",\"dweb:/ipfs/QmaG6vz6W6iEUBsbHSBob5mdcitYxWjoygxREHpsJHfWrS\"]},\"src/JBChainlinkV3PriceFeed.sol\":{\"keccak256\":\"0x8dc3218e435c83137984f7791e6e25c3ee2fad0499e7f5bbe77817452ac2d6b3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://dbd141f17a207cadc2486dcbebc74c866be2d21f880e428520222d67f794c64f\",\"dweb:/ipfs/QmU22MDrSdfmBSgmjqpYrXAybo4qsqbkRgQ2RvaPEDsb7e\"]},\"src/interfaces/IJBPriceFeed.sol\":{\"keccak256\":\"0x4bd84c0f1a5d4729ed709bcddd43f4c50ec4a165ece79780af8dce482ed07d4a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://62bac4bfb6982fb002f620c77e5c445e62d50241a5aa64a07e51d929f5a42180\",\"dweb:/ipfs/QmWgJUDreVY2BuMX38a1iUUR5kNbMwGnKG3VvurB7oZtuM\"]},\"src/libraries/JBFixedPointNumber.sol\":{\"keccak256\":\"0x687bdcb1353e2d29f1bd38bbadeb4ab0f2cbb351688f77e56365a25044577b53\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ad7f8756cf5f209cff9fbe8a65e799e29c159da55a3a2d532298acfb9d567311\",\"dweb:/ipfs/QmZMCox7uDwZrnbiZnZheizrG6PAisuHVuJgXK9rHn7PKU\"]}},\"version\":1}",
"gitCommit": "f896003d62095a0614e77c293794a43d36d6bed3"
"gitCommit": "ab9c1d07e31df1ac84c6c16f14b2341d7c9acb08"
}
82 changes: 82 additions & 0 deletions deployments/nana-core-testnet/arbitrum_sepolia/JBDeadline1Day.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
{
"_format": "sphinx-sol-ct-artifact-1",
"merkleRoot": "0x4d5a6fa0ab8571f2d2c5e615742ddf9dce99dfa4c9938c2a28724e879fb044a5",
"address": "0x1a6479b279a2357a0b8f2b2467e69ba5f6282ff8",
"sourceName": "src/periphery/JBDeadline1Day.sol",
"contractName": "JBDeadline1Day",
"chainId": "0x66eee",
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [],
"name": "DURATION",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "rulesetId",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "start",
"type": "uint256"
}
],
"name": "approvalStatusOf",
"outputs": [
{
"internalType": "enum JBApprovalStatus",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4"
}
],
"name": "supportsInterface",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
}
],
"args": [],
"solcInputHash": "77d61f2834209b64359756a656a52d68",
"bytecode": "0x60a060405234801561001057600080fd5b506201518060805260805161022d6100406000396000818160730152818161010e0152610138015261022d6000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806301ffc9a7146100465780631be052891461006e57806350609a56146100a3575b600080fd5b610059610054366004610179565b6100c3565b60405190151581526020015b60405180910390f35b6100957f000000000000000000000000000000000000000000000000000000000000000081565b604051908152602001610065565b6100b66100b13660046101a3565b6100fa565b60405161006591906101cf565b60006001600160e01b03198216634b80c8df60e01b14806100f457506001600160e01b031982166301ffc9a760e01b145b92915050565b60008183111561010c57506005610172565b7f00000000000000000000000000000000000000000000000000000000000000008383031061016c57817f000000000000000000000000000000000000000000000000000000000000000042011061016557600461016f565b600361016f565b60055b90505b9392505050565b60006020828403121561018b57600080fd5b81356001600160e01b03198116811461017257600080fd5b6000806000606084860312156101b857600080fd5b505081359360208301359350604090920135919050565b60208101600683106101f157634e487b7160e01b600052602160045260246000fd5b9190529056fea264697066735822122032d652678bd4375a307278e2d304ebe7050d62156c261d391a6d50364d69538864736f6c63430008170033",
"deployedBytecode": "0x",
"metadata": "{\"compiler\":{\"version\":\"0.8.23+commit.f704f362\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"DURATION\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"rulesetId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"start\",\"type\":\"uint256\"}],\"name\":\"approvalStatusOf\",\"outputs\":[{\"internalType\":\"enum JBApprovalStatus\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"approvalStatusOf(uint256,uint256,uint256)\":{\"params\":{\"rulesetId\":\"The ID of the ruleset to check the status of.\",\"start\":\"The start timestamp of the ruleset to check the status of.\"},\"returns\":{\"_0\":\"The ruleset's approval status.\"}},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}.\",\"params\":{\"interfaceId\":\"The ID of the interface to check for adherence to.\"},\"returns\":{\"_0\":\"A flag indicating if this contract adheres to the specified interface.\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"DURATION()\":{\"notice\":\"The minimum number of seconds between the time a ruleset is queued and the time it starts. If the difference is greater than this number, the ruleset is `Approved`.\"},\"approvalStatusOf(uint256,uint256,uint256)\":{\"notice\":\"The approval status of a given ruleset.\"},\"supportsInterface(bytes4)\":{\"notice\":\"Indicates whether this contract adheres to the specified interface.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/periphery/JBDeadline1Day.sol\":\"JBDeadline1Day\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\"@arbitrum/=node_modules/@arbitrum/\",\"@bananapus/=node_modules/@bananapus/\",\"@chainlink/=node_modules/@chainlink/\",\"@eth-optimism/=node_modules/@eth-optimism/\",\"@offchainlabs/=node_modules/@offchainlabs/\",\"@openzeppelin/=node_modules/@openzeppelin/\",\"@prb/=node_modules/@prb/\",\"@scroll-tech/=node_modules/@scroll-tech/\",\"@sphinx-labs/contracts/=lib/sphinx/packages/contracts/contracts/foundry/\",\"@uniswap/=node_modules/@uniswap/\",\"@zksync/=node_modules/@zksync/\",\"ds-test/=lib/forge-std/lib/ds-test/src/\",\"forge-std/=lib/forge-std/src/\",\"hardhat/=node_modules/hardhat/\",\"solmate/=node_modules/solmate/\",\"sphinx/=lib/sphinx/packages/contracts/contracts/forge-std/src/\"]},\"sources\":{\"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621\",\"dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL\"]},\"src/JBDeadline.sol\":{\"keccak256\":\"0xd9fd3dec2aee4b93b08cbce7e7b75d568b94cf3b5d105096a8080ae52eb9af72\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://dab2b799f0258266f87e80b6f1476ed67be9efcdb4c19951ccd6948b348956ef\",\"dweb:/ipfs/Qmcsm9Kub6HcYLFFn8g3bFRxcpQuTunRMrjxXD1KmnszBd\"]},\"src/enums/JBApprovalStatus.sol\":{\"keccak256\":\"0x61c69b6bac7d24b566d87cda23a77e4ca9cdb87200b106aba8534cb9a0973e33\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a9ca7249de76f77a8252eefe6bd1b63d47952f25a2acfa2c8db967cdff4470c\",\"dweb:/ipfs/QmaxSxptRQNj8bNy96EreENmrnRWdKmhyihBcxyWzBX5BN\"]},\"src/interfaces/IJBRulesetApprovalHook.sol\":{\"keccak256\":\"0x592e95d159494421c6b1bcb362d0cee1df0132921697351304e9cd7af4fbd386\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5bebfd5fa67c1b6ea16fa2e76e9520e9dfe52a579f48dd94d0c2ec45f78ad178\",\"dweb:/ipfs/QmRUawEGtfYoYSHmHELGhvJoWuMsxLPKtqAXgsrb7fJboP\"]},\"src/periphery/JBDeadline1Day.sol\":{\"keccak256\":\"0x95740a49deb2f1937f186e285dfddb4d9cdce52fd78ea1b7eaca0d8aaea0692a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://23a2a12c33673f08b0affb5bf13f07627f5cd257d2d4b9d968e3af63262df363\",\"dweb:/ipfs/QmbHfAeHbmg9fEzw92fzLmYrpJgA8CeA5pX3KkZXHg7jj6\"]}},\"version\":1}",
"gitCommit": "ab9c1d07e31df1ac84c6c16f14b2341d7c9acb08"
}
Loading