UNPKG

@soma-finance/core-contracts

Version:

SOMA Finance core contracts

49 lines (48 loc) 2.26 kB
{ "_format": "hh-sol-artifact-1", "contractName": "TransferHelperTestFakeFallback", "sourceName": "contracts/soma/SomaSwap/test/TransferHelperTest.sol", "abi": [ { "inputs": [ { "internalType": "bool", "name": "shouldRevert_", "type": "bool" } ], "name": "setup", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "shouldRevert", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "withdraw", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "stateMutability": "payable", "type": "receive" } ], "bytecode": "0x608060405234801561001057600080fd5b5061012a806100206000396000f3fe6080604052600436106100385760003560e01c80633ccfd60b14610054578063d3072d8214610069578063e2c169ec1461009757600080fd5b3661004f5760005460ff161561004d57600080fd5b005b600080fd5b34801561006057600080fd5b5061004d6100c5565b34801561007557600080fd5b506000546100839060ff1681565b604051901515815260200160405180910390f35b3480156100a357600080fd5b5061004d6100b23660046100f4565b6000805460ff1916911515919091179055565b60405133904780156108fc02916000818181858888f193505050501580156100f1573d6000803e3d6000fd5b50565b60006020828403121561010657600080fd5b8135801515811461011657600080fd5b939250505056fea164736f6c6343000812000a", "deployedBytecode": "0x6080604052600436106100385760003560e01c80633ccfd60b14610054578063d3072d8214610069578063e2c169ec1461009757600080fd5b3661004f5760005460ff161561004d57600080fd5b005b600080fd5b34801561006057600080fd5b5061004d6100c5565b34801561007557600080fd5b506000546100839060ff1681565b604051901515815260200160405180910390f35b3480156100a357600080fd5b5061004d6100b23660046100f4565b6000805460ff1916911515919091179055565b60405133904780156108fc02916000818181858888f193505050501580156100f1573d6000803e3d6000fd5b50565b60006020828403121561010657600080fd5b8135801515811461011657600080fd5b939250505056fea164736f6c6343000812000a", "linkReferences": {}, "deployedLinkReferences": {} }