Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
2bfb925
add function
yuxingfengs Jun 29, 2023
dde298b
function
yuxingfengs Jun 29, 2023
26548ca
Merge branch 'newapi' of https://github.com/Atraxus/etherpledge into …
yuxingfengs Jun 29, 2023
52c1cab
Update README.md
yuxingfengs Jun 29, 2023
55353cd
add router login
yuxingfengs Jul 11, 2023
2ab833d
Update README.md
yuxingfengs Jul 11, 2023
eeec134
add direct to Creat Projetc
yuxingfengs Jul 11, 2023
a5a8f88
Update README.md
nwuzb Jul 12, 2023
75cfbaf
Fixing the pledge function
Atraxus Jul 12, 2023
9e10b86
Merge remote-tracking branch 'refs/remotes/origin/newapi2'
Atraxus Jul 12, 2023
3cf51b9
Scanning past events and event subscriptions
Atraxus Jul 13, 2023
90abd04
change create crowdfunding
yuxingfengs Jul 14, 2023
c5cb451
Main campaign is now Etherpledge
Atraxus Jul 14, 2023
b7752b8
Change the Chinese comment of ‘UserCenter.vue' to English comment
nwuzb Jul 14, 2023
8a2fe62
Supplement and modify comment language to English
nwuzb Jul 14, 2023
305c508
Change the style of Usercenter to the display style of the computer b…
nwuzb Jul 14, 2023
5db763d
Experiment with splitting front and backend
Atraxus Jul 14, 2023
d349aa1
Getting everything running again
Atraxus Jul 14, 2023
4b0683f
major rework WIP
Atraxus Jul 14, 2023
e114a6e
Contract deployment and db
Atraxus Jul 14, 2023
836cf46
Loading main campaign from db
Atraxus Jul 14, 2023
248d347
More info from the db
Atraxus Jul 14, 2023
2c5373c
Creating campaign works
Atraxus Jul 14, 2023
457b42f
List of campaigns
Atraxus Jul 14, 2023
271a228
Loading raised funds from events. Reload needed
Atraxus Jul 14, 2023
a6ae383
Merge branch 'split-front-back' into newapi
johannes-ottliczky Jul 15, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
384 changes: 384 additions & 0 deletions backend/db.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,384 @@
{
"campaigns": [
{
"name": "Etherpledge Campaign",
"info": "Join our week-long campaign for EtherPledge, your trusted decentralized platform. Your pledges are more than donations; they empower you to vote on potential new features for our site. Your support can help shape EtherPledge's future!",
"author": "Etherpledge Team",
"authorInfo": "Our diverse team at EtherPledge is passionate about using blockchain technology to enhance crowdfunding. United by the goal of transparency and accessibility, we value collaboration, continuous learning, and our supportive community.",
"address": "0x150503ec21d4dc0865B74847e32c38DACA9FEFAF",
"abi": [
{
"inputs": [
{
"internalType": "uint256",
"name": "_goal",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_duration",
"type": "uint256"
},
{
"internalType": "string[]",
"name": "_descriptions",
"type": "string[]"
}
],
"stateMutability": "nonpayable",
"type": "constructor",
"signature": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "goal",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "duration",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "featureCount",
"type": "uint256"
}
],
"name": "CampaignCreated",
"type": "event",
"signature": "0xba6eaaedc9053a413676c3662e438b755075f91d88f4e35580aee832aff31357"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "featureId",
"type": "uint256"
},
{
"indexed": false,
"internalType": "string",
"name": "description",
"type": "string"
}
],
"name": "FeatureAdded",
"type": "event",
"signature": "0x84e052a1fe2421427eb3158ab7df13bf23a612c546e28cab2a0697e33ace0b9d"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "previousOwner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "OwnershipTransferred",
"type": "event",
"signature": "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "pledger",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "tokensMinted",
"type": "uint256"
}
],
"name": "Pledged",
"type": "event",
"signature": "0xb8765119b6cc15a7b5d15b95f6c505f2f3c24754824af1892788aad4c0e9945f"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "voter",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "tokens",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "featureId",
"type": "uint256"
}
],
"name": "Voted",
"type": "event",
"signature": "0xea66f58e474bc09f580000e81f31b334d171db387d0c6098ba47bd897741679b"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "balances",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function",
"constant": true,
"signature": "0x27e235e3"
},
{
"inputs": [],
"name": "end",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function",
"constant": true,
"signature": "0xefbe1c1c"
},
{
"inputs": [],
"name": "featureCount",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function",
"constant": true,
"signature": "0x7c7f3a24"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "features",
"outputs": [
{
"internalType": "string",
"name": "description",
"type": "string"
},
{
"internalType": "uint256",
"name": "votes",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function",
"constant": true,
"signature": "0x8ede6f9f"
},
{
"inputs": [],
"name": "goal",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function",
"constant": true,
"signature": "0x40193883"
},
{
"inputs": [],
"name": "owner",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function",
"constant": true,
"signature": "0x8da5cb5b"
},
{
"inputs": [],
"name": "renounceOwnership",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
"signature": "0x715018a6"
},
{
"inputs": [],
"name": "status",
"outputs": [
{
"internalType": "enum Campaign.CampaignStatus",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function",
"constant": true,
"signature": "0x200d2ed2"
},
{
"inputs": [],
"name": "token",
"outputs": [
{
"internalType": "contract VotingToken",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function",
"constant": true,
"signature": "0xfc0c546a"
},
{
"inputs": [],
"name": "tokenPerWei",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function",
"constant": true,
"signature": "0x356f9865"
},
{
"inputs": [
{
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "transferOwnership",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
"signature": "0xf2fde38b"
},
{
"inputs": [],
"name": "pledge",
"outputs": [],
"stateMutability": "payable",
"type": "function",
"payable": true,
"signature": "0x88ffe867"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokens",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "featureId",
"type": "uint256"
}
],
"name": "vote",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
"signature": "0xb384abef"
},
{
"inputs": [],
"name": "collectFunds",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
"signature": "0x5b980628"
},
{
"inputs": [],
"name": "withdraw",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function",
"signature": "0x3ccfd60b"
}
],
"goal": "10000000000000000000",
"end": "2023-07-21T18:39:55.093Z",
"descriptions": [
"Add quorum to decide, when a campaign is successful.",
"Let multiple people create a campaign together.",
"Redesign of the web-interface."
]
}
]
}
Loading