@luckyfinance/core
Version:
Core contracts for the LuckySwap protocol
49 lines (48 loc) • 2.71 kB
JSON
{
"_format": "hh-sol-artifact-1",
"contractName": "SmelterGoldVeinExploitMock",
"sourceName": "contracts/mocks/SmelterGoldVeinExploitMock.sol",
"abi": [
{
"inputs": [
{
"internalType": "address",
"name": "_smelTer",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [
{
"internalType": "contract IGoldVeinWithdrawFee",
"name": "goldveinPair",
"type": "address"
}
],
"name": "convert",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "smelTer",
"outputs": [
{
"internalType": "contract SmelterGoldVein",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
}
],
"bytecode": "0x60a060405234801561001057600080fd5b506040516101d53803806101d58339818101604052602081101561003357600080fd5b5051606081901b6001600160601b0319166080526001600160a01b031661016b61006a600039806089528060ad525061016b6000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80634567e22f1461003b578063def2489b1461005f575b600080fd5b610043610087565b604080516001600160a01b039092168252519081900360200190f35b6100856004803603602081101561007557600080fd5b50356001600160a01b03166100ab565b005b7f000000000000000000000000000000000000000000000000000000000000000081565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663def2489b826040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b15801561011a57600080fd5b505af115801561012e573d6000803e3d6000fd5b505050505056fea264697066735822122010036a10a9e256fc8bdac471ff4baaa42311cd447a206cb0d7d2616f276fae7564736f6c634300060c0033",
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100365760003560e01c80634567e22f1461003b578063def2489b1461005f575b600080fd5b610043610087565b604080516001600160a01b039092168252519081900360200190f35b6100856004803603602081101561007557600080fd5b50356001600160a01b03166100ab565b005b7f000000000000000000000000000000000000000000000000000000000000000081565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663def2489b826040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b15801561011a57600080fd5b505af115801561012e573d6000803e3d6000fd5b505050505056fea264697066735822122010036a10a9e256fc8bdac471ff4baaa42311cd447a206cb0d7d2616f276fae7564736f6c634300060c0033",
"linkReferences": {},
"deployedLinkReferences": {}
}