File tree 2 files changed +86
-10
lines changed
2 files changed +86
-10
lines changed Original file line number Diff line number Diff line change @@ -5,19 +5,18 @@ I have noticed a common scheme for event organizers and venues.
5
5
6
6
> Split the donations (between the event organizer) and a venue (bar, coffee shop, coworking space...) (50 / 50)%
7
7
8
- * Front end aka site
9
- * contract code
8
+ * Front end (coming up soon)
9
+ * [ contract code] ( https://github.com/mohamedhayibor/splitDonations/blob/master/contracts/splitDonations.sol ) | deployed on [ rinkeby ] ( https://rinkeby.etherscan.io/address/0xe50a24d1bfb94d11df0df6d226d382ddeb451def ) .
10
10
11
+ Usage:
12
+ =========
13
+
14
+ Just tell the attendees the address of your contract. Work as any simple transfers in Ethereum.
11
15
12
16
Notes:
13
17
=====
14
18
15
- Assumption: The person responsible of ` donationAddress ` will make sure of the conversion to fiat to be given to non-profits.
16
-
17
- The contract is the owner of the funds until split between event organanizer and venue owner.
18
-
19
- If you have an Eth meetup, put some skin in the game and set up your donations this way.
20
-
21
- > splitDonations.sol deployed on [ rinkeby] ( https://rinkeby.etherscan.io/address/0xe50a24d1bfb94d11df0df6d226d382ddeb451def ) .
19
+ * Assumption: The organizer will make sure of the conversion to fiat to be given to non-profits.
20
+ * The contract is the owner of the funds until split between event organanizer and venue owner.
21
+ * Working on the front-end but for now, you can interact with it with [ mycrypto] ( https://mycrypto.com/contracts/interact )
22
22
23
- Working on the front-end but for now, you can interact with [ mycrypto] ( https://mycrypto.com/contracts/interact )
Original file line number Diff line number Diff line change
1
+ [
2
+ {
3
+ "constant" : false ,
4
+ "inputs" : [],
5
+ "name" : " withdraw" ,
6
+ "outputs" : [],
7
+ "payable" : false ,
8
+ "stateMutability" : " nonpayable" ,
9
+ "type" : " function"
10
+ },
11
+ {
12
+ "constant" : true ,
13
+ "inputs" : [],
14
+ "name" : " venueAddress" ,
15
+ "outputs" : [
16
+ {
17
+ "name" : " " ,
18
+ "type" : " address"
19
+ }
20
+ ],
21
+ "payable" : false ,
22
+ "stateMutability" : " view" ,
23
+ "type" : " function"
24
+ },
25
+ {
26
+ "constant" : true ,
27
+ "inputs" : [],
28
+ "name" : " currentContractBalance" ,
29
+ "outputs" : [
30
+ {
31
+ "name" : " " ,
32
+ "type" : " uint256"
33
+ }
34
+ ],
35
+ "payable" : false ,
36
+ "stateMutability" : " view" ,
37
+ "type" : " function"
38
+ },
39
+ {
40
+ "constant" : true ,
41
+ "inputs" : [],
42
+ "name" : " organizerAddress" ,
43
+ "outputs" : [
44
+ {
45
+ "name" : " " ,
46
+ "type" : " address"
47
+ }
48
+ ],
49
+ "payable" : false ,
50
+ "stateMutability" : " view" ,
51
+ "type" : " function"
52
+ },
53
+ {
54
+ "constant" : false ,
55
+ "inputs" : [],
56
+ "name" : " deposit" ,
57
+ "outputs" : [],
58
+ "payable" : true ,
59
+ "stateMutability" : " payable" ,
60
+ "type" : " function"
61
+ },
62
+ {
63
+ "inputs" : [
64
+ {
65
+ "name" : " _organizerAddress" ,
66
+ "type" : " address"
67
+ },
68
+ {
69
+ "name" : " _venueAddress" ,
70
+ "type" : " address"
71
+ }
72
+ ],
73
+ "payable" : false ,
74
+ "stateMutability" : " nonpayable" ,
75
+ "type" : " constructor"
76
+ }
77
+ ]
You can’t perform that action at this time.
0 commit comments