UNPKG

@draswap/v2-core

Version:

🎛 Core contracts for the DraswapV2 protocol

82 lines • 2.77 kB
{ "abi": [ { "constant": false, "inputs": [ { "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint256", "name": "amount0", "type": "uint256" }, { "internalType": "uint256", "name": "amount1", "type": "uint256" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "name": "draswapV2Call", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" } ], "evm": { "bytecode": { "linkReferences": {}, "object": "", "opcodes": "", "sourceMap": "" }, "deployedBytecode": { "linkReferences": {}, "object": "", "opcodes": "", "sourceMap": "" } }, "metadata": "{\"compiler\":{\"version\":\"0.5.16+commit.9c3226ce\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"draswapV2Call\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"contracts/interfaces/IDraswapV2Callee.sol\":\"IDraswapV2Callee\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":999999},\"remappings\":[]},\"sources\":{\"contracts/interfaces/IDraswapV2Callee.sol\":{\"keccak256\":\"0x4a17bc27aee405d9aa5f523361d1a8c32a60713ff3730dbf50221131f7ef32e1\",\"urls\":[\"bzz-raw://b8cbf0293d8c394e49ae9d99ed38c60b236cb033e2c5e00b8e17595b3734d447\",\"dweb:/ipfs/QmZrcD6GjbT8sbwRguuVdfNMobBZJcQkiHUGeUeb7QFXMa\"]}},\"version\":1}", "interface": [ { "constant": false, "inputs": [ { "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint256", "name": "amount0", "type": "uint256" }, { "internalType": "uint256", "name": "amount1", "type": "uint256" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "name": "draswapV2Call", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" } ], "bytecode": "" }