UNPKG

@yearn-mechanics/yswaps

Version:

YSwaps will swap enabled strategie's funds from harvests

128 lines (127 loc) 2.69 kB
{ "_format": "hh-sol-artifact-1", "contractName": "SwapperEnabled", "sourceName": "solidity/contracts/utils/SwapperEnabled.sol", "abi": [ { "inputs": [], "name": "NotTradeFactory", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "_tokenIn", "type": "address" }, { "internalType": "address", "name": "_tokenOut", "type": "address" } ], "name": "disableTrade", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_tokenIn", "type": "address" }, { "internalType": "address", "name": "_tokenOut", "type": "address" } ], "name": "disableTradeCallback", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_tokenIn", "type": "address" }, { "internalType": "address", "name": "_tokenOut", "type": "address" } ], "name": "enableTrade", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "_swapper", "type": "string" }, { "internalType": "bool", "name": "_migrateSwaps", "type": "bool" } ], "name": "setSwapper", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_tradeFactory", "type": "address" } ], "name": "setTradeFactory", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "swapper", "outputs": [ { "internalType": "string", "name": "_swapper", "type": "string" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "tradeFactory", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" } ], "bytecode": "0x", "deployedBytecode": "0x", "linkReferences": {}, "deployedLinkReferences": {} }