UNPKG

@uniswap/v4-periphery

Version:

🦄 Peripheral smart contracts for interacting with Uniswap v4

1 lines • 8.45 kB
{"abi":[{"type":"constructor","inputs":[{"name":"name","type":"string","internalType":"string"}],"stateMutability":"nonpayable"},{"type":"function","name":"DOMAIN_SEPARATOR","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"}],"bytecode":{"object":"0x60e08060405234610114576102b8803803809161001c828561012c565b8339810190602081830312610114578051906001600160401b038211610114570181601f820112156101145780516001600160401b0381116101185760405191610070601f8301601f19166020018461012c565b81835260208301936020838301011161011457815f926020809301865e830101525190208060c0524660a05260405160208101917f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86683526040820152466060820152306080820152608081526100e760a08261012c565b5190206080526040516101689081610150823960805181607f015260a051816056015260c0518160d00152f35b5f80fd5b634e487b7160e01b5f52604160045260245ffd5b601f909101601f19168101906001600160401b038211908210176101185760405256fe6080806040526004361015610012575f80fd5b5f3560e01c633644e51514610025575f80fd5b34610157575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261015757467f0000000000000000000000000000000000000000000000000000000000000000036100a7575060207f00000000000000000000000000000000000000000000000000000000000000005b604051908152f35b602081017f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681527f000000000000000000000000000000000000000000000000000000000000000060408301524660608301523060808301526080825260a082019180831067ffffffffffffffff84111761012a5760209260405251902061009f565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f80fdfea164736f6c634300081a000a","sourceMap":"649:2045:94:-:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;649:2045:94;;;;;;;;;;;;;;;-1:-1:-1;;;;;649:2045:94;;;;;;;;;;;-1:-1:-1;;649:2045:94;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;649:2045:94;;;;;;;;;;;;1219:22;;1204:37;;;1271:13;1252:32;;649:2045;;;1816:66;;1075:80;;;;649:2045;1075:80;;;1271:13;1075:80;;;;1876:4;1075:80;;;;;1816:66;;;1252:32;1816:66;;:::i;:::-;649:2045;1806:77;;1075:80;1294:50;649:2045;;;;;;;;1075:80;649:2045;;;;;1252:32;649:2045;;;;;1204:37;649:2045;;;;;;;-1:-1:-1;649:2045:94;;;;;;-1:-1:-1;649:2045:94;;;;;-1:-1:-1;649:2045:94;;;;;;-1:-1:-1;;649:2045:94;;;;-1:-1:-1;;;;;649:2045:94;;;;;;;;;;:::o","linkReferences":{}},"deployedBytecode":{"object":"0x6080806040526004361015610012575f80fd5b5f3560e01c633644e51514610025575f80fd5b34610157575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261015757467f0000000000000000000000000000000000000000000000000000000000000000036100a7575060207f00000000000000000000000000000000000000000000000000000000000000005b604051908152f35b602081017f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681527f000000000000000000000000000000000000000000000000000000000000000060408301524660608301523060808301526080825260a082019180831067ffffffffffffffff84111761012a5760209260405251902061009f565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f80fdfea164736f6c634300081a000a","sourceMap":"649:2045:94:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1536:13;1553:16;1536:33;1553:16;;1572:24;649:2045;1572:24;1536:86;649:2045;;;;;;1536:86;1816:66;;;1075:80;649:2045;;1839:12;649:2045;1075:80;;649:2045;1536:13;1075:80;;;649:2045;1876:4;1075:80;;;;;1816:66;;;1075:80;;;;;;;;;;;;649:2045;1075:80;649:2045;1075:80;;1806:77;;1536:86;;1075:80;;649:2045;1075:80;;649:2045;1075:80;;649:2045;1075:80;649:2045;;;","linkReferences":{},"immutableReferences":{"52244":[{"start":127,"length":32}],"52246":[{"start":86,"length":32}],"52248":[{"start":208,"length":32}]}},"methodIdentifiers":{"DOMAIN_SEPARATOR()":"3644e515"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Maintains cross-chain replay protection in the event of a forkShould not be delegatecall'd because DOMAIN_SEPARATOR returns the cached hash and does not recompute with the delegatecallers addressReference: https://github.com/Uniswap/permit2/blob/3f17e8db813189a03950dc7fc8382524a095c053/src/EIP712.solReference: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/7bd2b2aaf68c21277097166a9a51eb72ae239b34/contracts/utils/cryptography/EIP712.sol\",\"kind\":\"dev\",\"methods\":{\"DOMAIN_SEPARATOR()\":{\"returns\":{\"_0\":\"bytes32 The domain separator\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"DOMAIN_SEPARATOR()\":{\"notice\":\"Returns the domain separator for the current chain.\"}},\"notice\":\"Generic EIP712 implementation\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/base/EIP712_v4.sol\":\"EIP712_v4\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":44444444},\"remappings\":[\":@ensdomains/=lib/v4-core/node_modules/@ensdomains/\",\":@openzeppelin/=lib/v4-core/lib/openzeppelin-contracts/\",\":@uniswap/v4-core/=lib/v4-core/\",\":ds-test/=lib/v4-core/lib/forge-std/lib/ds-test/src/\",\":erc4626-tests/=lib/v4-core/lib/openzeppelin-contracts/lib/erc4626-tests/\",\":forge-gas-snapshot/=lib/permit2/lib/forge-gas-snapshot/src/\",\":forge-std/=lib/v4-core/lib/forge-std/src/\",\":hardhat/=lib/v4-core/node_modules/hardhat/\",\":openzeppelin-contracts/=lib/v4-core/lib/openzeppelin-contracts/\",\":permit2/=lib/permit2/\",\":solmate/=lib/v4-core/lib/solmate/\",\":v4-core/=lib/v4-core/src/\"],\"viaIR\":true},\"sources\":{\"src/base/EIP712_v4.sol\":{\"keccak256\":\"0x151e85890822c1b0fe85ec3c021826cb42f615e2b9d6fcdd79019681a6ee5588\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c5df84221ba4fe59c8223e94bec954b7f7602d4ad81d2f0c046a67c21c1d24be\",\"dweb:/ipfs/QmbTUqqHxRxEDyrMPApozbC6DEYMZGa27dWu3KodNACiLy\"]},\"src/interfaces/IEIP712_v4.sol\":{\"keccak256\":\"0xd7f7115476e307a0bfc32a0f0a0f5434e9e5ca62a6c5af1e18b75e48161bb408\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b1600b953556da38a7adc5ad2a2925ec5fb138fecf8eec48743646543195b736\",\"dweb:/ipfs/QmarZi2aiLVAfHXgnDWV1cCFiZk2DdPW7KJnWHqzuRChJR\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.26+commit.8a97fa7a"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"string","name":"name","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"stateMutability":"view","type":"function","name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}]}],"devdoc":{"kind":"dev","methods":{"DOMAIN_SEPARATOR()":{"returns":{"_0":"bytes32 The domain separator"}}},"version":1},"userdoc":{"kind":"user","methods":{"DOMAIN_SEPARATOR()":{"notice":"Returns the domain separator for the current chain."}},"version":1}},"settings":{"remappings":["@ensdomains/=lib/v4-core/node_modules/@ensdomains/","@openzeppelin/=lib/v4-core/lib/openzeppelin-contracts/","@uniswap/v4-core/=lib/v4-core/","ds-test/=lib/v4-core/lib/forge-std/lib/ds-test/src/","erc4626-tests/=lib/v4-core/lib/openzeppelin-contracts/lib/erc4626-tests/","forge-gas-snapshot/=lib/permit2/lib/forge-gas-snapshot/src/","forge-std/=lib/v4-core/lib/forge-std/src/","hardhat/=lib/v4-core/node_modules/hardhat/","openzeppelin-contracts/=lib/v4-core/lib/openzeppelin-contracts/","permit2/=lib/permit2/","solmate/=lib/v4-core/lib/solmate/","v4-core/=lib/v4-core/src/"],"optimizer":{"enabled":true,"runs":44444444},"metadata":{"bytecodeHash":"none"},"compilationTarget":{"src/base/EIP712_v4.sol":"EIP712_v4"},"evmVersion":"cancun","libraries":{},"viaIR":true},"sources":{"src/base/EIP712_v4.sol":{"keccak256":"0x151e85890822c1b0fe85ec3c021826cb42f615e2b9d6fcdd79019681a6ee5588","urls":["bzz-raw://c5df84221ba4fe59c8223e94bec954b7f7602d4ad81d2f0c046a67c21c1d24be","dweb:/ipfs/QmbTUqqHxRxEDyrMPApozbC6DEYMZGa27dWu3KodNACiLy"],"license":"MIT"},"src/interfaces/IEIP712_v4.sol":{"keccak256":"0xd7f7115476e307a0bfc32a0f0a0f5434e9e5ca62a6c5af1e18b75e48161bb408","urls":["bzz-raw://b1600b953556da38a7adc5ad2a2925ec5fb138fecf8eec48743646543195b736","dweb:/ipfs/QmarZi2aiLVAfHXgnDWV1cCFiZk2DdPW7KJnWHqzuRChJR"],"license":"MIT"}},"version":1},"id":37}