UNPKG

lighthouse-package-fork

Version:

NPM package and CLI tool to interact with lighthouse protocol

395 lines (394 loc) 9.06 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = [ { inputs: [ { internalType: "address", name: "initialOwner", type: "address", }, ], stateMutability: "nonpayable", type: "constructor", }, { inputs: [], name: "ENDOWMENT_TRANSFER_FAILED", type: "error", }, { inputs: [], name: "INSUFFICIENT_CONTRACT_BALANCE", type: "error", }, { inputs: [], name: "INSUFFICIENT_USER_BALANCE", type: "error", }, { inputs: [], name: "INVALID_ZERO_ADDRESS", type: "error", }, { inputs: [ { internalType: "address", name: "owner", type: "address", }, ], name: "OwnableInvalidOwner", type: "error", }, { inputs: [ { internalType: "address", name: "account", type: "address", }, ], name: "OwnableUnauthorizedAccount", type: "error", }, { inputs: [], name: "TOKEN_APPROVAL_FAILED", type: "error", }, { inputs: [], name: "TOKEN_NOT_SUPPORTED", type: "error", }, { inputs: [], name: "TOKEN_PAYMENT_FAILED", type: "error", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "previousOwner", type: "address", }, { indexed: true, internalType: "address", name: "newOwner", type: "address", }, ], name: "OwnershipTransferred", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "sender", type: "address", }, { indexed: true, internalType: "address", name: "tokenAddress", type: "address", }, { indexed: false, internalType: "uint256", name: "txId", type: "uint256", }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256", }, { indexed: false, internalType: "uint256", name: "timestamp", type: "uint256", }, { indexed: false, internalType: "bytes", name: "data", type: "bytes", }, ], name: "ReceivedPayment", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "receiver", type: "address", }, { indexed: true, internalType: "address", name: "tokenAddress", type: "address", }, { indexed: true, internalType: "uint256", name: "amount", type: "uint256", }, ], name: "TokenTransferred", type: "event", }, { stateMutability: "payable", type: "fallback", }, { inputs: [], name: "endowment", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "filForwarder", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "_token", type: "address", }, ], name: "getERC20Balance", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "getNativeBalance", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "_token", type: "address", }, ], name: "getTokenStatus", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "owner", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "uint256", name: "_amount", type: "uint256", }, { internalType: "address", name: "_token", type: "address", }, ], name: "receiveToken", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "_endowmentAddress", type: "address", }, ], name: "setEndowment", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "_filForwarder", type: "address", }, ], name: "setFilForwarder", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "", type: "address", }, ], name: "tokenStatus", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "newOwner", type: "address", }, ], name: "transferOwnership", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "_token", type: "address", }, { internalType: "uint256", name: "_amount", type: "uint256", }, ], name: "transferToEndowment", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "bytes", name: "_destination", type: "bytes", }, { internalType: "uint256", name: "_amount", type: "uint256", }, ], name: "transferToOldAddress", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "_tokenAddress", type: "address", }, { internalType: "bool", name: "_status", type: "bool", }, ], name: "updateERC20Token", outputs: [], stateMutability: "nonpayable", type: "function", }, { stateMutability: "payable", type: "receive", }, ];