UNPKG

@river-build/generated

Version:

## How to generate contract types

408 lines 12.4 kB
{ "compiler": { "version": "0.8.24+commit.e11b9ed9" }, "language": "Solidity", "output": { "abi": [ { "inputs": [ { "internalType": "struct Diamond.InitParams", "name": "initDiamondCut", "type": "tuple", "components": [ { "internalType": "struct IDiamond.FacetCut[]", "name": "baseFacets", "type": "tuple[]", "components": [ { "internalType": "address", "name": "facetAddress", "type": "address" }, { "internalType": "enum IDiamond.FacetCutAction", "name": "action", "type": "uint8" }, { "internalType": "bytes4[]", "name": "functionSelectors", "type": "bytes4[]" } ] }, { "internalType": "address", "name": "init", "type": "address" }, { "internalType": "bytes", "name": "initData", "type": "bytes" } ] } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [ { "internalType": "address", "name": "target", "type": "address" } ], "type": "error", "name": "AddressEmptyCode" }, { "inputs": [ { "internalType": "bytes4", "name": "selector", "type": "bytes4" } ], "type": "error", "name": "DiamondCut_FunctionAlreadyExists" }, { "inputs": [ { "internalType": "address", "name": "facet", "type": "address" } ], "type": "error", "name": "DiamondCut_FunctionDoesNotExist" }, { "inputs": [ { "internalType": "bytes4", "name": "selector", "type": "bytes4" } ], "type": "error", "name": "DiamondCut_FunctionFromSameFacetAlreadyExists" }, { "inputs": [], "type": "error", "name": "DiamondCut_ImmutableFacet" }, { "inputs": [ { "internalType": "address", "name": "init", "type": "address" } ], "type": "error", "name": "DiamondCut_InvalidContract" }, { "inputs": [ { "internalType": "address", "name": "facet", "type": "address" } ], "type": "error", "name": "DiamondCut_InvalidFacet" }, { "inputs": [], "type": "error", "name": "DiamondCut_InvalidFacetCutLength" }, { "inputs": [ { "internalType": "address", "name": "facet", "type": "address" }, { "internalType": "bytes4", "name": "selector", "type": "bytes4" } ], "type": "error", "name": "DiamondCut_InvalidFacetRemoval" }, { "inputs": [ { "internalType": "address", "name": "facet", "type": "address" } ], "type": "error", "name": "DiamondCut_InvalidFacetSelectors" }, { "inputs": [], "type": "error", "name": "DiamondCut_InvalidSelector" }, { "inputs": [], "type": "error", "name": "Diamond_UnsupportedFunction" }, { "inputs": [], "type": "error", "name": "FailedCall" }, { "inputs": [ { "internalType": "uint32", "name": "version", "type": "uint32" } ], "type": "error", "name": "Initializable_AlreadyInitialized" }, { "inputs": [], "type": "error", "name": "Proxy__ImplementationIsNotContract" }, { "inputs": [ { "internalType": "struct IDiamond.FacetCut[]", "name": "facetCuts", "type": "tuple[]", "components": [ { "internalType": "address", "name": "facetAddress", "type": "address" }, { "internalType": "enum IDiamond.FacetCutAction", "name": "action", "type": "uint8" }, { "internalType": "bytes4[]", "name": "functionSelectors", "type": "bytes4[]" } ], "indexed": false }, { "internalType": "address", "name": "init", "type": "address", "indexed": false }, { "internalType": "bytes", "name": "initPayload", "type": "bytes", "indexed": false } ], "type": "event", "name": "DiamondCut", "anonymous": false }, { "inputs": [ { "internalType": "uint32", "name": "version", "type": "uint32", "indexed": false } ], "type": "event", "name": "Initialized", "anonymous": false }, { "inputs": [], "stateMutability": "payable", "type": "fallback" }, { "inputs": [], "stateMutability": "payable", "type": "receive" } ], "devdoc": { "kind": "dev", "methods": {}, "version": 1 }, "userdoc": { "kind": "user", "methods": {}, "version": 1 } }, "settings": { "remappings": [ "@openzeppelin/=node_modules/@openzeppelin/", "@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/", "@prb/math/=node_modules/@prb/math/src/", "@prb/test/=node_modules/@prb/test/src/", "@river-build/diamond/=node_modules/@river-build/diamond/", "@solidity/=node_modules/crypto-lib/src/", "account-abstraction/=node_modules/account-abstraction/contracts/", "crypto-lib/=node_modules/crypto-lib/src/", "ds-test/=node_modules/ds-test/src/", "forge-std/=node_modules/forge-std/src/", "hardhat-deploy/=node_modules/hardhat-deploy/", "solady/=node_modules/solady/src/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "bytecodeHash": "none", "appendCBOR": false }, "compilationTarget": { "node_modules/@river-build/diamond/src/Diamond.sol": "Diamond" }, "evmVersion": "paris", "libraries": {} }, "sources": { "node_modules/@openzeppelin/contracts/utils/Address.sol": { "keccak256": "0xaaa1d17c1129b127a4a401db2fbd72960e2671474be3d08cae71ccdc42f7624c", "urls": [ "bzz-raw://cb2f27cd3952aa667e198fba0d9b7bcec52fbb12c16f013c25fe6fb52b29cc0e", "dweb:/ipfs/QmeuohBFoeyDPZA9JNCTEDz3VBfBD4EABWuWXVhHAuEpKR" ], "license": "MIT" }, "node_modules/@openzeppelin/contracts/utils/Errors.sol": { "keccak256": "0x6afa713bfd42cf0f7656efa91201007ac465e42049d7de1d50753a373648c123", "urls": [ "bzz-raw://ba1d02f4847670a1b83dec9f7d37f0b0418d6043447b69f3a29a5f9efc547fcf", "dweb:/ipfs/QmQ7iH2keLNUKgq2xSWcRmuBE5eZ3F5whYAkAGzCNNoEWB" ], "license": "MIT" }, "node_modules/@openzeppelin/contracts/utils/structs/EnumerableSet.sol": { "keccak256": "0x9b161e97b8967d4bc0c08d25741889a30692cdda4b71910bf1b0e315f1962212", "urls": [ "bzz-raw://821500c39d095eaa25b06f46e65f1d0e97c4c96b39227f79077dee7d9e84051f", "dweb:/ipfs/QmSTeGorKzSWF6HAmxo32uCZiEuKNvreQdUiX1AaYtUMTz" ], "license": "MIT" }, "node_modules/@river-build/diamond/src/Diamond.sol": { "keccak256": "0xc53b8de960b08c79bf52d048153b0d300e99090c75784acbec68cb728ef3c2d1", "urls": [ "bzz-raw://cf0c3d7df41697f0ada885683421c89f89e86bb8fa84320857a9913bab9ff577", "dweb:/ipfs/QmSNHM955FZWiRTCgGtusKEWqfdQ7d9v5PVimRLmb5A447" ], "license": "MIT" }, "node_modules/@river-build/diamond/src/IDiamond.sol": { "keccak256": "0x5b6b56e700325f3d34da6d449ef097e3669bf1da4418ed098aa5474b08dab43a", "urls": [ "bzz-raw://be7a6bd1d29b939713b4402c4f04b074df6594d998b80e33e5fe00f34731f3e8", "dweb:/ipfs/QmS5TGVe4eBTZmzcYQZ8S6kESLgdZcguqb1RUkomLDFycQ" ], "license": "MIT" }, "node_modules/@river-build/diamond/src/facets/cut/DiamondCutBase.sol": { "keccak256": "0x2ab3fff62a5fca6e012b0f14a382808fe9668a18cd1b47acc3c9aedaba127957", "urls": [ "bzz-raw://b271d00a14d43afcdcfc57caf4e97b0ff2eb97b10d6bccfa374e86fbf70b4348", "dweb:/ipfs/QmYg33aHTgACZ7Pvebvb2Dgo3QZv4w42vbGQ34YmJh7urU" ], "license": "MIT" }, "node_modules/@river-build/diamond/src/facets/cut/DiamondCutStorage.sol": { "keccak256": "0xf3d1e8b2cc8b17afca792cd7c2d917a59ecaf83b2073da57d1168d5b47776ed9", "urls": [ "bzz-raw://81b82022fe7fe5339d6450a92de4b8d55ea91547fad6d687287f51ff9aeb39f7", "dweb:/ipfs/QmdiZ5EN7qFd2RZNjxZK5Kdpt2YfxS6LD51BB93FT6yW5V" ], "license": "MIT" }, "node_modules/@river-build/diamond/src/facets/cut/IDiamondCut.sol": { "keccak256": "0x62e9eb0e7d9cd70f3d462f5034cc43865bd30e867f1a604ed2f33b05dd0e5a19", "urls": [ "bzz-raw://a257f614ba3cefa45cac65657a49a898ef0024ca182d4854a0a8764625b82d1c", "dweb:/ipfs/QmVw4N5QHYV8125FDgmD3pyksGVgC53H7M5CGTf9CrzLQZ" ], "license": "MIT" }, "node_modules/@river-build/diamond/src/facets/initializable/Initializable.sol": { "keccak256": "0xe02e99665b5acb22d5c508c3bda97c35acd2597ce0a58569a19cc12f0010da90", "urls": [ "bzz-raw://b586a51dbe63e8763ae0b2b3dadd5c8559f47bc8cbaa0e9fe52aaec4c3677552", "dweb:/ipfs/QmRtaVikg6YDwzUAtY7WV793taZgT1ZxyMB4PLAEqGBeCC" ], "license": "MIT" }, "node_modules/@river-build/diamond/src/facets/initializable/InitializableStorage.sol": { "keccak256": "0xf8170e6977d685c218f65185478fbb9916e64f63aab1dcd195056438466f458a", "urls": [ "bzz-raw://83ea3cf77f012eef93d10593e3beded36b449611063fd8dfbdb44e4346f87eb4", "dweb:/ipfs/QmVasL7QnxXEmiUsLJzpfig8717zLUhZfyQxiBbFGDEVVg" ], "license": "MIT" }, "node_modules/@river-build/diamond/src/facets/loupe/DiamondLoupeBase.sol": { "keccak256": "0xf74c8a82f8b39607cbf1089a46cdb4027d986c2277f94b164c40b322f5d281d7", "urls": [ "bzz-raw://88473306110022bb415308566b8f6a4f3234c267d68b534acac0a1e637a59505", "dweb:/ipfs/QmcEnYYpkibB7eiDWCNg3H9yXUjXdcQBotazupkhah8S72" ], "license": "MIT" }, "node_modules/@river-build/diamond/src/facets/loupe/IDiamondLoupe.sol": { "keccak256": "0xe73772581fcbdc224268f9f4eb1b35d25fb5d165516aa489329d954d95e14ec4", "urls": [ "bzz-raw://9a1d7979baf04d010bfacfc6d1e2f4408ccac8f52b332be62b904d395333857d", "dweb:/ipfs/QmQrzuJXzjB2Fz7WDCRAfS9bnvaPHsU4DXmGhwZn3ccmfB" ], "license": "MIT" }, "node_modules/@river-build/diamond/src/proxy/IProxy.sol": { "keccak256": "0x94506109e5e47fafba65c94f2d74d0c7860e5911fe90fbe3b49817afda3b2145", "urls": [ "bzz-raw://969f73c692e96091ef4565e5e7f9d4114ce6d51a619a75f9b1a0703f737e4ceb", "dweb:/ipfs/QmbohRzHyVrD36w3b7UdM1jqpPMViSx3DVCHWuXTLkG3bM" ], "license": "MIT" }, "node_modules/@river-build/diamond/src/proxy/Proxy.sol": { "keccak256": "0xf11318c1057be9219cf41aa182fcd8c46117c72fea16532f367114058566dbb6", "urls": [ "bzz-raw://1ce3efbcd31c8a3291500d27933639546f8930afac361536a61f64dc40d117c0", "dweb:/ipfs/QmTo2D6WtcvFXAz435CR1JcSygLSSRBeiGzM4FeAgRQdT8" ], "license": "MIT" } }, "version": 1 }