Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [
- {
- "inputs": [],
- "stateMutability": "nonpayable",
- "type": "constructor"
- },
- {
- "inputs": [],
- "name": "ContractPaused",
- "type": "error"
- },
- {
- "inputs": [],
- "name": "InvalidAmount",
- "type": "error"
- },
- {
- "inputs": [],
- "name": "InvalidRate",
- "type": "error"
- },
- {
- "inputs": [],
- "name": "NotOwner",
- "type": "error"
- },
- {
- "inputs": [],
- "name": "TransferFailed",
- "type": "error"
- },
- {
- "inputs": [],
- "name": "ZeroAddress",
- "type": "error"
- },
- {
- "anonymous": false,
- "inputs": [
- {
- "indexed": true,
- "internalType": "address",
- "name": "investor",
- "type": "address"
- },
- {
- "indexed": false,
- "internalType": "uint256",
- "name": "amount",
- "type": "uint256"
- },
- {
- "indexed": false,
- "internalType": "uint256",
- "name": "totalContributed",
- "type": "uint256"
- }
- ],
- "name": "Invested",
- "type": "event"
- },
- {
- "anonymous": false,
- "inputs": [
- {
- "indexed": true,
- "internalType": "address",
- "name": "to",
- "type": "address"
- },
- {
- "indexed": false,
- "internalType": "uint256",
- "name": "amount",
- "type": "uint256"
- }
- ],
- "name": "OwnerWithdrawal",
- "type": "event"
- },
- {
- "anonymous": false,
- "inputs": [
- {
- "indexed": false,
- "internalType": "bool",
- "name": "isPaused",
- "type": "bool"
- }
- ],
- "name": "Paused",
- "type": "event"
- },
- {
- "inputs": [
- {
- "internalType": "address",
- "name": "account",
- "type": "address"
- }
- ],
- "name": "getInvestor",
- "outputs": [
- {
- "internalType": "uint256",
- "name": "totalContributed",
- "type": "uint256"
- },
- {
- "internalType": "uint64",
- "name": "lastInvestmentAt",
- "type": "uint64"
- },
- {
- "internalType": "bool",
- "name": "isActive",
- "type": "bool"
- }
- ],
- "stateMutability": "view",
- "type": "function"
- },
- {
- "inputs": [],
- "name": "invest",
- "outputs": [],
- "stateMutability": "payable",
- "type": "function"
- },
- {
- "inputs": [],
- "name": "investorCount",
- "outputs": [
- {
- "internalType": "uint256",
- "name": "",
- "type": "uint256"
- }
- ],
- "stateMutability": "view",
- "type": "function"
- },
- {
- "inputs": [],
- "name": "isPaused",
- "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": "address payable",
- "name": "to",
- "type": "address"
- },
- {
- "internalType": "uint256",
- "name": "amount",
- "type": "uint256"
- }
- ],
- "name": "ownerWithdraw",
- "outputs": [],
- "stateMutability": "nonpayable",
- "type": "function"
- },
- {
- "inputs": [
- {
- "internalType": "bool",
- "name": "shouldPause",
- "type": "bool"
- }
- ],
- "name": "setPaused",
- "outputs": [],
- "stateMutability": "nonpayable",
- "type": "function"
- },
- {
- "inputs": [
- {
- "internalType": "address",
- "name": "account",
- "type": "address"
- },
- {
- "internalType": "uint256",
- "name": "totalReturnAmount",
- "type": "uint256"
- }
- ],
- "name": "simulateReturnByAmount",
- "outputs": [
- {
- "internalType": "uint256",
- "name": "",
- "type": "uint256"
- }
- ],
- "stateMutability": "view",
- "type": "function"
- },
- {
- "inputs": [
- {
- "internalType": "address",
- "name": "account",
- "type": "address"
- },
- {
- "internalType": "uint16",
- "name": "rateBps",
- "type": "uint16"
- }
- ],
- "name": "simulateReturnByRate",
- "outputs": [
- {
- "internalType": "uint256",
- "name": "",
- "type": "uint256"
- }
- ],
- "stateMutability": "view",
- "type": "function"
- },
- {
- "inputs": [],
- "name": "totalInvested",
- "outputs": [
- {
- "internalType": "uint256",
- "name": "",
- "type": "uint256"
- }
- ],
- "stateMutability": "view",
- "type": "function"
- }
- ]
Advertisement
Add Comment
Please, Sign In to add comment