UNPKG

@luckyfinance/core

Version:

Core contracts for the LuckySwap protocol

214 lines (213 loc) 4.19 kB
[ { "inputs": [ { "internalType": "contract IUniswapV2Factory", "name": "_factory", "type": "address" }, { "internalType": "address", "name": "_alchemybench", "type": "address" }, { "internalType": "contract IAlpineWithdraw", "name": "_alPine", "type": "address" }, { "internalType": "address", "name": "_goldnugget", "type": "address" }, { "internalType": "address", "name": "_weth", "type": "address" }, { "internalType": "bytes32", "name": "_pairCodeHash", "type": "bytes32" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "token", "type": "address" }, { "indexed": true, "internalType": "address", "name": "bridge", "type": "address" } ], "name": "LogBridgeSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "server", "type": "address" }, { "indexed": true, "internalType": "address", "name": "token0", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount0", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "amountALP", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "amountGOLN", "type": "uint256" } ], "name": "LogConvert", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferred", "type": "event" }, { "inputs": [], "name": "claimOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "contract IGoldVeinWithdrawFee", "name": "goldveinPair", "type": "address" } ], "name": "convert", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "contract IGoldVeinWithdrawFee[]", "name": "goldveinPair", "type": "address[]" } ], "name": "convertMultiple", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pendingOwner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "address", "name": "bridge", "type": "address" } ], "name": "setBridge", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newOwner", "type": "address" }, { "internalType": "bool", "name": "direct", "type": "bool" }, { "internalType": "bool", "name": "renounce", "type": "bool" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]