Untitled

 avatar
unknown
plain_text
3 years ago
9.8 kB
7
Indexable
[
			{
				"anonymous": false,
				"inputs": [
					{
						"indexed": false,
						"internalType": "uint256",
						"name": "claimedAt",
						"type": "uint256"
					},
					{
						"indexed": false,
						"internalType": "uint256",
						"name": "claimedAmount",
						"type": "uint256"
					},
					{
						"indexed": false,
						"internalType": "uint256",
						"name": "claimedFragments",
						"type": "uint256"
					}
				],
				"name": "ClaimCampaign",
				"type": "event"
			},
			{
				"anonymous": false,
				"inputs": [
					{
						"indexed": false,
						"internalType": "address",
						"name": "owner",
						"type": "address"
					},
					{
						"indexed": false,
						"internalType": "uint256",
						"name": "maxAmount",
						"type": "uint256"
					},
					{
						"indexed": false,
						"internalType": "uint256",
						"name": "fundedAmount",
						"type": "uint256"
					},
					{
						"indexed": false,
						"internalType": "uint256",
						"name": "startAt",
						"type": "uint256"
					},
					{
						"indexed": false,
						"internalType": "uint256",
						"name": "endAt",
						"type": "uint256"
					},
					{
						"indexed": false,
						"internalType": "uint256",
						"name": "numberOfFragments",
						"type": "uint256"
					},
					{
						"indexed": false,
						"internalType": "uint256",
						"name": "remainFragments",
						"type": "uint256"
					},
					{
						"indexed": false,
						"internalType": "uint256",
						"name": "pricePerFragment",
						"type": "uint256"
					},
					{
						"indexed": false,
						"internalType": "bool",
						"name": "isOpen",
						"type": "bool"
					},
					{
						"indexed": false,
						"internalType": "address",
						"name": "acceptToken",
						"type": "address"
					}
				],
				"name": "CreateCampaign",
				"type": "event"
			},
			{
				"anonymous": false,
				"inputs": [
					{
						"indexed": false,
						"internalType": "address",
						"name": "fanAddress",
						"type": "address"
					},
					{
						"indexed": false,
						"internalType": "uint256",
						"name": "campId",
						"type": "uint256"
					},
					{
						"indexed": false,
						"internalType": "uint256",
						"name": "fragmentAmount",
						"type": "uint256"
					},
					{
						"indexed": false,
						"internalType": "uint256",
						"name": "fundedAmount",
						"type": "uint256"
					}
				],
				"name": "FundCampaign",
				"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": [
					{
						"internalType": "uint256",
						"name": "campId",
						"type": "uint256"
					}
				],
				"name": "claimCampaign",
				"outputs": [],
				"stateMutability": "nonpayable",
				"type": "function"
			},
			{
				"inputs": [
					{
						"internalType": "address",
						"name": "owner",
						"type": "address"
					},
					{
						"internalType": "uint256",
						"name": "maxAmount",
						"type": "uint256"
					},
					{
						"internalType": "uint256",
						"name": "startAt",
						"type": "uint256"
					},
					{
						"internalType": "uint256",
						"name": "endAt",
						"type": "uint256"
					},
					{
						"internalType": "uint256",
						"name": "numberOfFragments",
						"type": "uint256"
					},
					{
						"internalType": "address",
						"name": "acceptToken",
						"type": "address"
					}
				],
				"name": "createCampaign",
				"outputs": [],
				"stateMutability": "nonpayable",
				"type": "function"
			},
			{
				"inputs": [
					{
						"internalType": "uint256",
						"name": "",
						"type": "uint256"
					},
					{
						"internalType": "address",
						"name": "",
						"type": "address"
					}
				],
				"name": "fanToCamp",
				"outputs": [
					{
						"internalType": "uint256",
						"name": "fundedAmount",
						"type": "uint256"
					},
					{
						"internalType": "uint256",
						"name": "numberOfFragments",
						"type": "uint256"
					}
				],
				"stateMutability": "view",
				"type": "function"
			},
			{
				"inputs": [
					{
						"internalType": "uint256",
						"name": "campId",
						"type": "uint256"
					}
				],
				"name": "forceClaim",
				"outputs": [],
				"stateMutability": "nonpayable",
				"type": "function"
			},
			{
				"inputs": [
					{
						"internalType": "uint256",
						"name": "campId",
						"type": "uint256"
					},
					{
						"internalType": "uint256",
						"name": "fragmentAmount",
						"type": "uint256"
					}
				],
				"name": "fundCampaign",
				"outputs": [],
				"stateMutability": "payable",
				"type": "function"
			},
			{
				"inputs": [],
				"name": "getListCamp",
				"outputs": [
					{
						"components": [
							{
								"internalType": "address",
								"name": "owner",
								"type": "address"
							},
							{
								"internalType": "uint256",
								"name": "maxAmount",
								"type": "uint256"
							},
							{
								"internalType": "uint256",
								"name": "fundedAmount",
								"type": "uint256"
							},
							{
								"internalType": "uint256",
								"name": "startAt",
								"type": "uint256"
							},
							{
								"internalType": "uint256",
								"name": "endAt",
								"type": "uint256"
							},
							{
								"internalType": "uint256",
								"name": "numberOfFragments",
								"type": "uint256"
							},
							{
								"internalType": "uint256",
								"name": "remainFragments",
								"type": "uint256"
							},
							{
								"internalType": "uint256",
								"name": "pricePerFragment",
								"type": "uint256"
							},
							{
								"internalType": "bool",
								"name": "isOpen",
								"type": "bool"
							},
							{
								"internalType": "address",
								"name": "acceptToken",
								"type": "address"
							}
						],
						"internalType": "struct CampaginContract.Campaign[]",
						"name": "listCamp",
						"type": "tuple[]"
					}
				],
				"stateMutability": "view",
				"type": "function"
			},
			{
				"inputs": [
					{
						"internalType": "uint256",
						"name": "",
						"type": "uint256"
					}
				],
				"name": "idToCampaign",
				"outputs": [
					{
						"internalType": "address",
						"name": "owner",
						"type": "address"
					},
					{
						"internalType": "uint256",
						"name": "maxAmount",
						"type": "uint256"
					},
					{
						"internalType": "uint256",
						"name": "fundedAmount",
						"type": "uint256"
					},
					{
						"internalType": "uint256",
						"name": "startAt",
						"type": "uint256"
					},
					{
						"internalType": "uint256",
						"name": "endAt",
						"type": "uint256"
					},
					{
						"internalType": "uint256",
						"name": "numberOfFragments",
						"type": "uint256"
					},
					{
						"internalType": "uint256",
						"name": "remainFragments",
						"type": "uint256"
					},
					{
						"internalType": "uint256",
						"name": "pricePerFragment",
						"type": "uint256"
					},
					{
						"internalType": "bool",
						"name": "isOpen",
						"type": "bool"
					},
					{
						"internalType": "address",
						"name": "acceptToken",
						"type": "address"
					}
				],
				"stateMutability": "view",
				"type": "function"
			},
			{
				"inputs": [],
				"name": "maxDepositAmount",
				"outputs": [
					{
						"internalType": "uint256",
						"name": "",
						"type": "uint256"
					}
				],
				"stateMutability": "view",
				"type": "function"
			},
			{
				"inputs": [],
				"name": "minDepositAmount",
				"outputs": [
					{
						"internalType": "uint256",
						"name": "",
						"type": "uint256"
					}
				],
				"stateMutability": "view",
				"type": "function"
			},
			{
				"inputs": [],
				"name": "owner",
				"outputs": [
					{
						"internalType": "address",
						"name": "",
						"type": "address"
					}
				],
				"stateMutability": "view",
				"type": "function"
			},
			{
				"inputs": [],
				"name": "renounceOwnership",
				"outputs": [],
				"stateMutability": "nonpayable",
				"type": "function"
			},
			{
				"inputs": [
					{
						"internalType": "uint256",
						"name": "campId",
						"type": "uint256"
					},
					{
						"internalType": "bool",
						"name": "isOpen",
						"type": "bool"
					}
				],
				"name": "setCampaignOpenStatus",
				"outputs": [],
				"stateMutability": "nonpayable",
				"type": "function"
			},
			{
				"inputs": [
					{
						"internalType": "address",
						"name": "vault",
						"type": "address"
					}
				],
				"name": "setVaultWallet",
				"outputs": [],
				"stateMutability": "nonpayable",
				"type": "function"
			},
			{
				"inputs": [
					{
						"internalType": "address",
						"name": "newOwner",
						"type": "address"
					}
				],
				"name": "transferOwnership",
				"outputs": [],
				"stateMutability": "nonpayable",
				"type": "function"
			},
			{
				"inputs": [
					{
						"internalType": "uint256",
						"name": "campId",
						"type": "uint256"
					},
					{
						"internalType": "uint256",
						"name": "startAt",
						"type": "uint256"
					},
					{
						"internalType": "uint256",
						"name": "endAt",
						"type": "uint256"
					}
				],
				"name": "updateTimeCampaign",
				"outputs": [],
				"stateMutability": "nonpayable",
				"type": "function"
			},
			{
				"inputs": [],
				"name": "vaultWallet",
				"outputs": [
					{
						"internalType": "address",
						"name": "",
						"type": "address"
					}
				],
				"stateMutability": "view",
				"type": "function"
			}
		]
Editor is loading...