@luckyfinance/core
Version:
Core contracts for the LuckySwap protocol
54 lines (53 loc) • 2.88 kB
JSON
{
"_format": "hh-sol-artifact-1",
"contractName": "SmelterExploitMock",
"sourceName": "contracts/mocks/SmelterExploitMock.sol",
"abi": [
{
"inputs": [
{
"internalType": "address",
"name": "_smelTer",
"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": "smelTer",
"outputs": [
{
"internalType": "contract Smelter",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
}
],
"bytecode": "0x60a060405234801561001057600080fd5b506040516101ef3803806101ef8339818101604052602081101561003357600080fd5b5051606081901b6001600160601b0319166080526001600160a01b031661018561006a600039806091528060b552506101856000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80634567e22f1461003b578063bd1b820c1461005f575b600080fd5b61004361008f565b604080516001600160a01b039092168252519081900360200190f35b61008d6004803603604081101561007557600080fd5b506001600160a01b03813581169160200135166100b3565b005b7f000000000000000000000000000000000000000000000000000000000000000081565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bd1b820c83836040518363ffffffff1660e01b815260040180836001600160a01b03168152602001826001600160a01b0316815260200192505050600060405180830381600087803b15801561013357600080fd5b505af1158015610147573d6000803e3d6000fd5b50505050505056fea264697066735822122026fca4ef6f878d424db23d3bf39941eda7d6119350e53e581b9c813086524f7864736f6c634300060c0033",
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100365760003560e01c80634567e22f1461003b578063bd1b820c1461005f575b600080fd5b61004361008f565b604080516001600160a01b039092168252519081900360200190f35b61008d6004803603604081101561007557600080fd5b506001600160a01b03813581169160200135166100b3565b005b7f000000000000000000000000000000000000000000000000000000000000000081565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bd1b820c83836040518363ffffffff1660e01b815260040180836001600160a01b03168152602001826001600160a01b0316815260200192505050600060405180830381600087803b15801561013357600080fd5b505af1158015610147573d6000803e3d6000fd5b50505050505056fea264697066735822122026fca4ef6f878d424db23d3bf39941eda7d6119350e53e581b9c813086524f7864736f6c634300060c0033",
"linkReferences": {},
"deployedLinkReferences": {}
}