@offchainlabs/stablecoin-evm
Version:
Circle's Stablecoin Smart Contracts on EVM-compatible blockchains
60 lines (59 loc) • 3.57 kB
JSON
{
"_format": "hh-sol-artifact-1",
"contractName": "MockERC1271WalletWithCustomValidation",
"sourceName": "contracts/test/MockERC1271Wallet.sol",
"abi": [
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
},
{
"internalType": "bytes",
"name": "",
"type": "bytes"
}
],
"name": "isValidSignature",
"outputs": [
{
"internalType": "bytes4",
"name": "magicValue",
"type": "bytes4"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bool",
"name": "signatureValid",
"type": "bool"
}
],
"name": "setSignatureValid",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"bytecode": "0x608060405234801561001057600080fd5b506040516102763803806102768339818101604052602081101561003357600080fd5b5051600080546001600160a01b039092166001600160a01b0319909216919091179055610211806100656000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80631626ba7e1461003b57806319fe6ce21461011d575b600080fd5b6100e86004803603604081101561005157600080fd5b8135919081019060408101602082013564010000000081111561007357600080fd5b82018360208201111561008557600080fd5b803590602001918460018302840111640100000000831117156100a757600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061013e945050505050565b604080517fffffffff000000000000000000000000000000000000000000000000000000009092168252519081900360200190f35b61013c6004803603602081101561013357600080fd5b50351515610191565b005b6000805474010000000000000000000000000000000000000000900460ff1661016857600061018a565b7f1626ba7e000000000000000000000000000000000000000000000000000000005b9392505050565b6000805491151574010000000000000000000000000000000000000000027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff90921691909117905556fea26469706673582212202181be7e2efc7c15377960341244f102ce88d86a4c3acfb83139085975c0206264736f6c634300060c0033",
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100365760003560e01c80631626ba7e1461003b57806319fe6ce21461011d575b600080fd5b6100e86004803603604081101561005157600080fd5b8135919081019060408101602082013564010000000081111561007357600080fd5b82018360208201111561008557600080fd5b803590602001918460018302840111640100000000831117156100a757600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061013e945050505050565b604080517fffffffff000000000000000000000000000000000000000000000000000000009092168252519081900360200190f35b61013c6004803603602081101561013357600080fd5b50351515610191565b005b6000805474010000000000000000000000000000000000000000900460ff1661016857600061018a565b7f1626ba7e000000000000000000000000000000000000000000000000000000005b9392505050565b6000805491151574010000000000000000000000000000000000000000027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff90921691909117905556fea26469706673582212202181be7e2efc7c15377960341244f102ce88d86a4c3acfb83139085975c0206264736f6c634300060c0033",
"linkReferences": {},
"deployedLinkReferences": {}
}