@polycity/core
Version:
Core contracts for the PolyCityDex protocol
54 lines (53 loc) • 2.9 kB
JSON
{
"_format": "hh-sol-artifact-1",
"contractName": "PichiMakerExploitMock",
"sourceName": "contracts/mocks/PichiMakerExploitMock.sol",
"abi": [
{
"inputs": [
{
"internalType": "address",
"name": "_pichiMaker",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [
{
"internalType": "address",
"name": "token0",
"type": "address"
},
{
"internalType": "address",
"name": "token1",
"type": "address"
}
],
"name": "convert",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "pichiMaker",
"outputs": [
{
"internalType": "contract PichiMaker",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
}
],
"bytecode": "0x60a060405234801561001057600080fd5b506040516101ef3803806101ef8339818101604052602081101561003357600080fd5b5051606081901b6001600160601b0319166080526001600160a01b031661018561006a600039806091528060b552506101856000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063192a91061461003b578063bd1b820c1461005f575b600080fd5b61004361008f565b604080516001600160a01b039092168252519081900360200190f35b61008d6004803603604081101561007557600080fd5b506001600160a01b03813581169160200135166100b3565b005b7f000000000000000000000000000000000000000000000000000000000000000081565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bd1b820c83836040518363ffffffff1660e01b815260040180836001600160a01b03168152602001826001600160a01b0316815260200192505050600060405180830381600087803b15801561013357600080fd5b505af1158015610147573d6000803e3d6000fd5b50505050505056fea26469706673582212200ce846cc8f421e0a8b288f32b78ba768e6d66abf2110195f8c8a485a2b87429864736f6c634300060c0033",
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100365760003560e01c8063192a91061461003b578063bd1b820c1461005f575b600080fd5b61004361008f565b604080516001600160a01b039092168252519081900360200190f35b61008d6004803603604081101561007557600080fd5b506001600160a01b03813581169160200135166100b3565b005b7f000000000000000000000000000000000000000000000000000000000000000081565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bd1b820c83836040518363ffffffff1660e01b815260040180836001600160a01b03168152602001826001600160a01b0316815260200192505050600060405180830381600087803b15801561013357600080fd5b505af1158015610147573d6000803e3d6000fd5b50505050505056fea26469706673582212200ce846cc8f421e0a8b288f32b78ba768e6d66abf2110195f8c8a485a2b87429864736f6c634300060c0033",
"linkReferences": {},
"deployedLinkReferences": {}
}