Verified contractPartialApache-2.0
AddPasskeySIPA
Address0x1890474918e04447b0ab718ffe60df749d953dc4
- Balance
0 ETH
- Transactions
0
- Compiler
solc 0.8.30
- Same code
Only this contract
Details
- Compiler
- solc 0.8.30+commit.73712a01
- Language
- solidity
- Optimization
- Yes, 1 runs
- EVM version
- osaka
- License
- Apache-2.0
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 26,391,530
- Creation transaction
- 0x8077543c11…3201b45d7c
149 files
The source code is large: one file is shown at a time. Choose a file in the list.
- src/periphery/AddPasskeySIPA.solmain5.69 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/lib/openzeppelin-contracts/contracts/access/Ownable.sol3.1 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/lib/openzeppelin-contracts/contracts/interfaces/IERC1363.sol4.45 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/lib/openzeppelin-contracts/contracts/interfaces/IERC165.sol192 B
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/lib/openzeppelin-contracts/contracts/interfaces/IERC20.sol181 B
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/lib/openzeppelin-contracts/contracts/interfaces/IERC5267.sol739 B
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol2.78 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol9.39 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/lib/openzeppelin-contracts/contracts/utils/Context.sol963 B
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/lib/openzeppelin-contracts/contracts/utils/Panic.sol1.97 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/lib/openzeppelin-contracts/contracts/utils/ShortStrings.sol4.28 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/lib/openzeppelin-contracts/contracts/utils/SlotDerivation.sol5.32 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/lib/openzeppelin-contracts/contracts/utils/StorageSlot.sol4.18 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/lib/openzeppelin-contracts/contracts/utils/Strings.sol14.83 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/lib/openzeppelin-contracts/contracts/utils/TransientSlot.sol5.07 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/lib/openzeppelin-contracts/contracts/utils/cryptography/ECDSA.sol7.82 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/lib/openzeppelin-contracts/contracts/utils/cryptography/EIP712.sol6.61 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/lib/openzeppelin-contracts/contracts/utils/cryptography/MessageHashUtils.sol3.7 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol870 B
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/lib/openzeppelin-contracts/contracts/utils/math/Math.sol29.66 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/lib/openzeppelin-contracts/contracts/utils/math/SafeCast.sol34.94 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/lib/openzeppelin-contracts/contracts/utils/math/SignedMath.sol2.61 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/lib/openzeppelin-contracts/contracts/utils/structs/BitMaps.sol2.02 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/lib/openzeppelin-contracts/contracts/utils/structs/Checkpoints.sol21.43 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/lib/openzeppelin-contracts/contracts/utils/structs/EnumerableSet.sol12.89 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/core/interfaces/IEscapeHatch.sol3.58 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/core/interfaces/IFeeJuicePortal.sol1.18 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/core/interfaces/IRollup.sol13.11 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/core/interfaces/ISequencerRewardCalculator.sol2.17 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/core/interfaces/ISlasher.sol530 B
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/core/interfaces/IStaking.sol5.72 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/core/interfaces/IValidatorSelection.sol2.98 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/core/interfaces/IVerifier.sol225 B
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/core/interfaces/messagebridge/IInbox.sol7.21 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/core/interfaces/messagebridge/IOutbox.sol4.6 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/core/libraries/ConstantsGen.sol1.55 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/core/libraries/DataStructures.sol1.96 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/core/libraries/Errors.sol16.7 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/core/libraries/HatchMath.sol575 B
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/core/libraries/SlashRoundLib.sol1.93 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/core/libraries/StakingQueue.sol2.31 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/core/libraries/TimeLib.sol6.05 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/core/libraries/compressed-data/CheckpointLog.sol4.15 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/core/libraries/compressed-data/StakingQueueConfig.sol2.87 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/core/libraries/compressed-data/Tips.sol2.19 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/core/libraries/compressed-data/fees/FeeConfig.sol5.17 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/core/libraries/compressed-data/fees/FeeStructs.sol5.18 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/core/libraries/crypto/Hash.sol3.03 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/core/libraries/crypto/MerkleLib.sol2.91 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/core/libraries/crypto/SampleLib.sol3.77 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/core/libraries/rollup/AttestationLib.sol8.66 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/core/libraries/rollup/BlobLib.sol11.87 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/core/libraries/rollup/CoordinationSignatureLib.sol3.19 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/core/libraries/rollup/FeeLib.sol24.27 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/core/libraries/rollup/FieldLib.sol889 B
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/core/libraries/rollup/ProposeLib.sol28.01 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/core/libraries/rollup/ProposedHeaderLib.sol2.24 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/core/libraries/rollup/RewardLib.sol20.85 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/core/libraries/rollup/STFLib.sol25.95 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/core/libraries/rollup/SequencerRewardCalculatorLib.sol5.93 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/core/libraries/rollup/StakingLib.sol51.03 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/core/libraries/rollup/ValidatorSelectionLib.sol37.95 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/core/reward-boost/RewardBooster.sol5.04 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/core/slashing/Slasher.sol2.91 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/governance/Bn254LibWrapper.sol752 B
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/governance/GSE.sol39.93 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/governance/GSEPayload.sol6.29 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/governance/Governance.sol32.6 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/governance/interfaces/IBn254LibWrapper.sol459 B
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/governance/interfaces/IEmpire.sol1.3 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/governance/interfaces/IGovernance.sol3.91 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/governance/interfaces/IGovernanceProposer.sol359 B
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/governance/interfaces/IPayload.sol597 B
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/governance/interfaces/IProposerPayload.sol327 B
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/governance/interfaces/IRegistry.sol1.21 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/governance/interfaces/IRewardDistributor.sol1.28 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/governance/libraries/AddressSnapshotLib.sol9.83 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/governance/libraries/CheckpointedUintLib.sol3.02 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/governance/libraries/ConfigurationLib.sol5 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/governance/libraries/DepositDelegationLib.sol10.98 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/governance/libraries/Errors.sol4.49 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/governance/libraries/ProposalLib.sol8.54 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/governance/libraries/compressed-data/Ballot.sol2.33 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/governance/libraries/compressed-data/Configuration.sol4.5 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/governance/libraries/compressed-data/Proposal.sol6.35 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/governance/proposer/EmpireBase.sol12.69 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/governance/proposer/GovernanceProposer.sol4.25 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/mock/libraries/BlobLib.sol5.65 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/shared/libraries/BN254Lib.sol10.21 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/shared/libraries/CompressedTimeMath.sol1.27 KB
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/shared/libraries/SignatureLib.sol983 B
- node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/shared/libraries/TimeMath.sol3.54 KB
- node_modules/@openzeppelin/contracts/account/Account.sol5.56 KB
- node_modules/@openzeppelin/contracts/account/extensions/draft-ERC7821.sol2.69 KB
- node_modules/@openzeppelin/contracts/account/utils/draft-ERC4337Utils.sol13.28 KB
- node_modules/@openzeppelin/contracts/account/utils/draft-ERC7579Utils.sol11.33 KB
- node_modules/@openzeppelin/contracts/interfaces/IERC1271.sol656 B
- node_modules/@openzeppelin/contracts/interfaces/IERC1363.sol4.45 KB
- node_modules/@openzeppelin/contracts/interfaces/IERC165.sol193 B
- node_modules/@openzeppelin/contracts/interfaces/IERC20.sol182 B
- node_modules/@openzeppelin/contracts/interfaces/IERC5267.sol740 B
- node_modules/@openzeppelin/contracts/interfaces/draft-IERC4337.sol10.53 KB
- node_modules/@openzeppelin/contracts/interfaces/draft-IERC7579.sol8.98 KB
- node_modules/@openzeppelin/contracts/interfaces/draft-IERC7821.sol1.76 KB
- node_modules/@openzeppelin/contracts/proxy/Clones.sol14.52 KB
- node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol2.78 KB
- node_modules/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol13.31 KB
- node_modules/@openzeppelin/contracts/utils/Address.sol6.8 KB
- node_modules/@openzeppelin/contracts/utils/Base64.sol10.66 KB
- node_modules/@openzeppelin/contracts/utils/Bytes.sol14.74 KB
- node_modules/@openzeppelin/contracts/utils/Calldata.sol697 B
- node_modules/@openzeppelin/contracts/utils/Create2.sol4.37 KB
- node_modules/@openzeppelin/contracts/utils/Errors.sol896 B
- node_modules/@openzeppelin/contracts/utils/LowLevelCall.sol5.55 KB
- node_modules/@openzeppelin/contracts/utils/Packing.sol64.87 KB
- node_modules/@openzeppelin/contracts/utils/Panic.sol1.97 KB
- node_modules/@openzeppelin/contracts/utils/ShortStrings.sol4.31 KB
- node_modules/@openzeppelin/contracts/utils/StorageSlot.sol4.18 KB
- node_modules/@openzeppelin/contracts/utils/Strings.sol21.54 KB
- node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol12.15 KB
- node_modules/@openzeppelin/contracts/utils/cryptography/EIP712.sol6.7 KB
- node_modules/@openzeppelin/contracts/utils/cryptography/Hashes.sol1.03 KB
- node_modules/@openzeppelin/contracts/utils/cryptography/MessageHashUtils.sol8.63 KB
- node_modules/@openzeppelin/contracts/utils/cryptography/P256.sol19.34 KB
- node_modules/@openzeppelin/contracts/utils/cryptography/WebAuthn.sol12.83 KB
- node_modules/@openzeppelin/contracts/utils/cryptography/draft-ERC7739Utils.sol9.43 KB
- node_modules/@openzeppelin/contracts/utils/cryptography/signers/AbstractSigner.sol987 B
- node_modules/@openzeppelin/contracts/utils/cryptography/signers/draft-ERC7739.sol4.28 KB
- node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol871 B
- node_modules/@openzeppelin/contracts/utils/math/Math.sol32.66 KB
- node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol34.94 KB
- node_modules/@openzeppelin/contracts/utils/math/SignedMath.sol2.61 KB
- src/core/interfaces/IOxidePortal.sol2.61 KB
- src/core/interfaces/IProverSubsidy.sol294 B
- src/core/lib/Errors.sol3.09 KB
- src/core/lib/ProverClaimLib.sol4.67 KB
- src/generated/OxideConstants.gen.sol1.42 KB
- src/periphery/AccountMetadataRegistry.sol4.62 KB
- src/periphery/Errors.sol10.42 KB
- src/periphery/Intent.sol857 B
- src/periphery/OxideAccount.sol4.4 KB
- src/periphery/RecoveryCommitmentLib.sol707 B
- src/periphery/SIPABase.sol5.88 KB
- src/periphery/ThreePoolLib.sol2.29 KB
- src/periphery/interfaces/ICurve3Pool.sol266 B
- src/periphery/interfaces/IForwardingTable.sol1.29 KB
- src/periphery/interfaces/INamePortal.sol223 B
- src/periphery/interfaces/INameRegistry.sol760 B
- src/periphery/interfaces/IOxideAccountFactory.sol260 B
src/periphery/AddPasskeySIPA.sol
// SPDX-License-Identifier: Apache-2.0
pragma solidity >=0.8.27;
import {SIPABase} from "./SIPABase.sol";
import {ThreePoolLib} from "./ThreePoolLib.sol";
import {Errors} from "./Errors.sol";
import {OxideAccount} from "./OxideAccount.sol";
import {AccountMetadataRegistry} from "./AccountMetadataRegistry.sol";
import {INamePortal} from "./interfaces/INamePortal.sol";
import {INameRegistry} from "./interfaces/INameRegistry.sol";
import {IOxideAccountFactory} from "./interfaces/IOxideAccountFactory.sol";
import {Intent, Intents} from "./Intent.sol";
import {ERC4337Utils} from "@openzeppelin/contracts/account/utils/draft-ERC4337Utils.sol";
import {IEntryPoint, PackedUserOperation} from "@openzeppelin/contracts/interfaces/draft-IERC4337.sol";
import {ERC7821} from "@openzeppelin/contracts/account/extensions/draft-ERC7821.sol";
import {Execution} from "@openzeppelin/contracts/interfaces/draft-IERC7579.sol";
import {
ERC7579Utils,
Mode,
ModeSelector,
ModePayload
} from "@openzeppelin/contracts/account/utils/draft-ERC7579Utils.sol";
struct AddPasskeyIntent {
uint256 rollupVersion;
bytes32 recipientCommitment;
address owner;
uint64 nonce;
bytes32 accountGasLimits;
AccountMetadataRegistry.UserRecord record;
bytes32 namePortalRecipient;
OxideAccount.R1Key key;
bytes metadata;
}
contract AddPasskeySIPA is SIPABase {
IEntryPoint public constant ENTRY_POINT = ERC4337Utils.ENTRYPOINT_V08;
IOxideAccountFactory public immutable ACCOUNT_FACTORY;
INameRegistry public immutable NAME_REGISTRY;
INamePortal public immutable NAME_PORTAL;
constructor(IOxideAccountFactory accountFactory, INameRegistry nameRegistry, INamePortal namePortal) {
require(address(accountFactory) != address(0), Errors.AddPasskeySIPA__ZeroAccountFactory());
require(address(nameRegistry) != address(0), Errors.AddPasskeySIPA__ZeroNameRegistry());
require(address(namePortal) != address(0), Errors.AddPasskeySIPA__ZeroNamePortal());
ACCOUNT_FACTORY = accountFactory;
NAME_REGISTRY = nameRegistry;
NAME_PORTAL = namePortal;
}
function INTENT() public pure override returns (Intent) {
return Intents.ADD_PASSKEY;
}
function _buildCallData(AccountMetadataRegistry registry, AddPasskeyIntent memory intent)
internal
view
returns (bytes memory)
{
Execution[] memory batch = new Execution[](3);
batch[0] = Execution(intent.owner, 0, abi.encodeCall(OxideAccount.addAuthKey, (intent.key, intent.metadata)));
batch[1] = Execution(
address(registry), 0, abi.encodeCall(AccountMetadataRegistry.setUserRecord, (intent.owner, intent.record))
);
batch[2] = Execution(
address(NAME_PORTAL),
0,
abi.encodeCall(INamePortal.notify, (intent.owner, intent.namePortalRecipient, intent.rollupVersion))
);
// solhint-disable-next-line oxide/no-comments
// ERC-7821 accepts only a batch with the default exec type and a zero selector (no opData). It ignores the payload.
Mode mode = ERC7579Utils.encodeMode(
ERC7579Utils.CALLTYPE_BATCH, ERC7579Utils.EXECTYPE_DEFAULT, ModeSelector.wrap(0x00000000), ModePayload.wrap(0x00)
);
return abi.encodeCall(ERC7821.execute, (Mode.unwrap(mode), abi.encode(batch)));
}
function _checkIntent(AddPasskeyIntent memory intent, uint256 rollupVersion) internal view {
require(intent.rollupVersion == rollupVersion, Errors.SIPA__RollupVersionMismatch());
require(
intent.record.rollupVersion == rollupVersion,
Errors.AddPasskeySIPA__RecordRollupVersionMismatch(intent.record.rollupVersion, rollupVersion)
);
address bootstrap = OxideAccount(payable(intent.owner)).bootstrapOwner();
require(
ACCOUNT_FACTORY.predictAccountAddress(bootstrap) == intent.owner,
Errors.AddPasskeySIPA__NotFactoryAccount(intent.owner)
);
}
function _isUserOpPending(AddPasskeyIntent memory intent) internal view returns (bool) {
uint256 nonce = ENTRY_POINT.getNonce(intent.owner, 0);
require(nonce >= intent.nonce, Errors.AddPasskeySIPA__NonceNotReached(nonce, intent.nonce));
return nonce == intent.nonce;
}
function _isRecordSet(AccountMetadataRegistry registry, AddPasskeyIntent memory intent) internal view returns (bool) {
AccountMetadataRegistry.UserRecord memory record = registry.getUserRecord(intent.owner);
return keccak256(abi.encode(record)) == keccak256(abi.encode(intent.record));
}
function _execute(address token, bytes calldata intentData, bytes calldata proofs)
internal
override
returns (Routing memory)
{
Args memory args = _args();
require(!args.resweepable, Errors.AddPasskeySIPA__Resweepable());
address settledToken = ThreePoolLib.swapToDai(token);
AddPasskeyIntent memory intent = abi.decode(intentData, (AddPasskeyIntent));
_checkIntent(intent, args.rollupVersion);
AccountMetadataRegistry registry = AccountMetadataRegistry(NAME_REGISTRY.accountMetadataRegistry());
if (_isUserOpPending(intent)) {
_handleOp(registry, intent, abi.decode(proofs, (bytes)));
}
require(_isRecordSet(registry, intent), Errors.AddPasskeySIPA__RecordNotSet());
return Routing(settledToken, address(0), 0, intent.recipientCommitment);
}
function _handleOp(AccountMetadataRegistry registry, AddPasskeyIntent memory intent, bytes memory signature)
internal
{
PackedUserOperation[] memory ops = new PackedUserOperation[](1);
ops[0].sender = intent.owner;
ops[0].nonce = intent.nonce;
ops[0].callData = _buildCallData(registry, intent);
ops[0].accountGasLimits = intent.accountGasLimits;
ops[0].signature = signature;
ENTRY_POINT.handleOps(ops, payable(intent.owner));
}
}
Compiler settingsShow
{
"viaIR": false,
"metadata": {
"appendCBOR": true,
"bytecodeHash": "none",
"useLiteralContent": false
},
"libraries": {},
"optimizer": {
"runs": 1,
"enabled": true
},
"evmVersion": "osaka",
"remappings": [
"@core/=src/core/",
"@periphery/=src/periphery/",
"@generated/=src/generated/",
"@aztec/=node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/",
"@aztec-blob-lib/=node_modules/@aztec-foundation/l1-artifacts/l1-contracts/src/mock/libraries/",
"@zkpassport/=node_modules/@aztec-foundation/l1-artifacts/l1-contracts/lib/circuits/src/solidity/src/",
"@oz/=node_modules/@aztec-foundation/l1-artifacts/l1-contracts/lib/openzeppelin-contracts/contracts/",
"@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/",
"node_modules/@aztec-foundation/l1-artifacts/l1-contracts/:@openzeppelin/contracts/=node_modules/@aztec-foundation/l1-artifacts/l1-contracts/lib/openzeppelin-contracts/contracts/",
"node_modules/@aztec-foundation/l1-artifacts/l1-contracts/:@openzeppelin/contracts/=node_modules/@aztec-foundation/l1-artifacts/l1-contracts/lib/openzeppelin-contracts/contracts/",
"@uniswap/universal-router/=node_modules/@uniswap/universal-router/",
"@uniswap/v4-core/=node_modules/@uniswap/v4-core/",
"@uniswap/v4-periphery/=node_modules/@uniswap/v4-periphery/",
"@uniswap/v2-core/=node_modules/@uniswap/v2-core/",
"@account-abstraction/contracts/=node_modules/@account-abstraction/contracts/",
"@nitro-validator/=.deps/nitro-validator/src/",
"@solarity/libs/=.deps/solidity-lib/contracts/libs/",
"@test/=test/",
"forge-std/=node_modules/@aztec-foundation/l1-artifacts/l1-contracts/lib/forge-std/src/",
"node_modules/@uniswap/v4-periphery/lib/v4-core/lib/openzeppelin-contracts/lib/forge-std/:ds-test/=node_modules/@uniswap/v4-periphery/lib/v4-core/lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/",
"node_modules/@uniswap/v4-periphery/lib/v4-core/lib/openzeppelin-contracts/lib/forge-std/:ds-test/=node_modules/@uniswap/v4-periphery/lib/v4-core/lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/",
"node_modules/@uniswap/v4-core/lib/openzeppelin-contracts/lib/forge-std/:ds-test/=node_modules/@uniswap/v4-core/lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/",
"node_modules/@uniswap/v4-core/lib/openzeppelin-contracts/lib/forge-std/:ds-test/=node_modules/@uniswap/v4-core/lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/",
"node_modules/@uniswap/v4-periphery/lib/permit2/lib/forge-std/:ds-test/=node_modules/@uniswap/v4-periphery/lib/permit2/lib/forge-std/lib/ds-test/",
"node_modules/@uniswap/v4-periphery/lib/permit2/lib/forge-std/:ds-test/=node_modules/@uniswap/v4-periphery/lib/permit2/lib/forge-std/lib/ds-test/",
"node_modules/@uniswap/v4-periphery/lib/permit2/lib/solmate/:ds-test/=node_modules/@uniswap/v4-periphery/lib/permit2/lib/solmate/lib/ds-test/",
"node_modules/@uniswap/v4-periphery/lib/permit2/lib/solmate/:ds-test/=node_modules/@uniswap/v4-periphery/lib/permit2/lib/solmate/lib/ds-test/",
"node_modules/@uniswap/v4-periphery/lib/v4-core/lib/openzeppelin-contracts/:erc4626-tests/=node_modules/@uniswap/v4-periphery/lib/v4-core/lib/openzeppelin-contracts/lib/erc4626-tests/",
"node_modules/@uniswap/v4-periphery/lib/v4-core/lib/openzeppelin-contracts/:erc4626-tests/=node_modules/@uniswap/v4-periphery/lib/v4-core/lib/openzeppelin-contracts/lib/erc4626-tests/",
"node_modules/@uniswap/v4-periphery/lib/v4-core/lib/solmate/:ds-test/=node_modules/@uniswap/v4-periphery/lib/v4-core/lib/solmate/lib/ds-test/",
"node_modules/@uniswap/v4-periphery/lib/v4-core/lib/solmate/:ds-test/=node_modules/@uniswap/v4-periphery/lib/v4-core/lib/solmate/lib/ds-test/",
"node_modules/@aztec-foundation/l1-artifacts/l1-contracts/lib/openzeppelin-contracts/:erc4626-tests/=node_modules/@aztec-foundation/l1-artifacts/l1-contracts/lib/openzeppelin-contracts/lib/erc4626-tests/",
"node_modules/@aztec-foundation/l1-artifacts/l1-contracts/lib/openzeppelin-contracts/:erc4626-tests/=node_modules/@aztec-foundation/l1-artifacts/l1-contracts/lib/openzeppelin-contracts/lib/erc4626-tests/",
"node_modules/@uniswap/v4-core/lib/openzeppelin-contracts/:erc4626-tests/=node_modules/@uniswap/v4-core/lib/openzeppelin-contracts/lib/erc4626-tests/",
"node_modules/@uniswap/v4-core/lib/openzeppelin-contracts/:erc4626-tests/=node_modules/@uniswap/v4-core/lib/openzeppelin-contracts/lib/erc4626-tests/",
"node_modules/@uniswap/v4-core/lib/solmate/:ds-test/=node_modules/@uniswap/v4-core/lib/solmate/lib/ds-test/",
"node_modules/@uniswap/v4-core/lib/solmate/:ds-test/=node_modules/@uniswap/v4-core/lib/solmate/lib/ds-test/",
"node_modules/@uniswap/v4-periphery/lib/permit2/:openzeppelin-contracts/=node_modules/@uniswap/v4-periphery/lib/permit2/lib/openzeppelin-contracts/",
"node_modules/@uniswap/v4-periphery/lib/permit2/:openzeppelin-contracts/=node_modules/@uniswap/v4-periphery/lib/permit2/lib/openzeppelin-contracts/",
"node_modules/@uniswap/v4-periphery/lib/permit2/:solmate/=node_modules/@uniswap/v4-periphery/lib/permit2/lib/solmate/",
"node_modules/@uniswap/v4-periphery/lib/permit2/:solmate/=node_modules/@uniswap/v4-periphery/lib/permit2/lib/solmate/",
"node_modules/@uniswap/v4-periphery/lib/v4-core/:openzeppelin-contracts/=node_modules/@uniswap/v4-periphery/lib/v4-core/lib/openzeppelin-contracts/",
"node_modules/@uniswap/v4-periphery/lib/v4-core/:openzeppelin-contracts/=node_modules/@uniswap/v4-periphery/lib/v4-core/lib/openzeppelin-contracts/",
"node_modules/@uniswap/v4-periphery/lib/v4-core/:solmate/=node_modules/@uniswap/v4-periphery/lib/v4-core/lib/solmate/",
"node_modules/@uniswap/v4-periphery/lib/v4-core/:solmate/=node_modules/@uniswap/v4-periphery/lib/v4-core/lib/solmate/",
"node_modules/@aztec-foundation/l1-artifacts/l1-contracts/:openzeppelin-contracts/=node_modules/@aztec-foundation/l1-artifacts/l1-contracts/lib/openzeppelin-contracts/",
"node_modules/@aztec-foundation/l1-artifacts/l1-contracts/:openzeppelin-contracts/=node_modules/@aztec-foundation/l1-artifacts/l1-contracts/lib/openzeppelin-contracts/",
"node_modules/@uniswap/universal-router/:@uniswap/v3-core/=node_modules/@uniswap/universal-router/node_modules/@uniswap/v3-core/",
"node_modules/@uniswap/universal-router/:@uniswap/v3-core/=node_modules/@uniswap/universal-router/node_modules/@uniswap/v3-core/",
"node_modules/@uniswap/v4-core/:openzeppelin-contracts/=node_modules/@uniswap/v4-core/lib/openzeppelin-contracts/",
"node_modules/@uniswap/v4-core/:openzeppelin-contracts/=node_modules/@uniswap/v4-core/lib/openzeppelin-contracts/",
"node_modules/@uniswap/v4-core/:solmate/=node_modules/@uniswap/v4-core/lib/solmate/",
"node_modules/@uniswap/v4-core/:solmate/=node_modules/@uniswap/v4-core/lib/solmate/",
"@account-abstraction/=node_modules/@account-abstraction/",
"@aztec-foundation/=node_modules/@aztec-foundation/",
"@openzeppelin/=node_modules/@openzeppelin/",
"@uniswap/=node_modules/@uniswap/",
"base64-sol/=node_modules/base64-sol/",
"circuits/=node_modules/@aztec-foundation/l1-artifacts/l1-contracts/lib/circuits/",
"ds-test/=node_modules/@uniswap/v4-core/lib/solmate/lib/ds-test/",
"erc4626-tests/=node_modules/@uniswap/v4-core/lib/openzeppelin-contracts/lib/erc4626-tests/",
"forge-gas-snapshot/=node_modules/@uniswap/v4-periphery/lib/permit2/lib/forge-gas-snapshot/",
"halmos-cheatcodes/=node_modules/@aztec-foundation/l1-artifacts/l1-contracts/lib/openzeppelin-contracts/lib/halmos-cheatcodes/",
"openzeppelin-contracts/=node_modules/@uniswap/v4-core/lib/openzeppelin-contracts/",
"permit2/=node_modules/@uniswap/v4-periphery/lib/permit2/",
"solmate/=node_modules/@uniswap/v4-core/lib/solmate/",
"v4-core/=node_modules/@uniswap/v4-periphery/lib/v4-core/"
]
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.