Repository navigation
Expand file tree
/
Copy pathStageRaise.json
More file actions
155 lines (153 loc) · 28.2 KB
/
Copy pathStageRaise.json
File metadata and controls
155 lines (153 loc) · 28.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
╭-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------╮
| Type | Signature | Selector |
+==========================================================================================================================================================================================+
| event | OwnershipTransferred(address,address) | 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| event | ProjectCreated(string,uint256,uint64) | 0x960d0b947214eb2c0316a802b72ed9c3d275f98e1a9c76b589754c22cb3adc53 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| event | ProjectFunded(string,uint96,address) | 0x9c83bf860617624eeaf0a91c921e7f0b7f411d19d4c17b51bd7e9f485ef5fc14 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| event | ProjectOpenedForVoting(string,uint64,uint32) | 0xc71b632e096b2e203c831f5d821aa0a0afe5971b0772a5e49524885ffa8d5330 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| event | ProjectVotingProcessFinalized(string,uint32,bool) | 0x463f2fb9c19da1e963861a445b258bc24067f18c0771882bc87ec1bd53b4505f |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| event | RefundRequested(string,uint32,address,uint96) | 0xcd5ffeed591a4fc9cec60adcd319ae1cdbaaf602bcb48f71f766f70bb7c61d05 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| event | WithDrawnFromProject(string,uint96,address) | 0x80a22ce1083a7ee84122f7d9514e75467acfcf7104fab14cff6f52100d25cabd |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| error | OwnableInvalidOwner(address) | 0x1e4fbdf7 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| error | OwnableUnauthorizedAccount(address) | 0x118cdaa7 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| error | SafeERC20FailedOperation(address) | 0x5274afe7 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| error | StageRaise__AddressHasNotFundTheProject() | 0x80f8e31e |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| error | StageRaise__AmountToFundMustBeGreaterThanZero() | 0xa2cc73b1 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| error | StageRaise__AmountToWithdrawMustBeGreaterThanZero() | 0x3ac850fc |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| error | StageRaise__CanOnlyBeCalledByProjectOwner() | 0x5d47257c |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| error | StageRaise__CannotWithdrawWhileFundingIsActive() | 0x4eb82fbd |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| error | StageRaise__DeadlineForFundingHasPassed() | 0x45d061c7 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| error | StageRaise__DeadlineMustBeInFuture() | 0xa947d021 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| error | StageRaise__FunderHasAlreadyVoted() | 0x06748134 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| error | StageRaise__FundingAmountAboveMaximum() | 0xf767fcdd |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| error | StageRaise__FundingAmountBelowMinimum() | 0x25ef3b31 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| error | StageRaise__InvalidTokenAddress() | 0x3a1ce032 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| error | StageRaise__MinFundingMustBeLessThanMaxFunding() | 0xcbe47a72 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| error | StageRaise__ProjectHasFailedTooManyMilestones() | 0x45fceddb |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| error | StageRaise__ProjectHasReachedTheFinalMileStoneStage() | 0x8d38fc4e |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| error | StageRaise__ProjectIsNotOpenForMilestoneVotingProcess() | 0xdd5fb5ac |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| error | StageRaise__ProjectNotActive() | 0x1b605559 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| error | StageRaise__ProjectNotFound() | 0x8e6119e0 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| error | StageRaise__RefundIsNotAllowed() | 0x61cc6277 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| error | StageRaise__TargetAmountMustBeGreaterThanZero() | 0xf9250546 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| error | StageRaise__TimeHasNotPassedForTheVotingProcess() | 0x111bd0a2 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| error | StageRaise__TokenNotSupported() | 0xc560d29a |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| error | StageRaise__TotalRaiseCantSurpassTargetRaise() | 0xc61266bb |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| error | StageRaise__VotingPeriodHasPassed() | 0x2cd910e6 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| error | StageRaise__VotingProcessFormilestoneMustBeInFuture() | 0x396631f6 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| error | StageRaise__YouCannotHaveZeroMilestoneForAMileStoneProject() | 0xaae2c937 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| error | StageRaise__YouCannotOpenNonMilestoneProjectForVoting() | 0x8d56a259 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| error | StageRaise__YouCannotOpenProjectVotingWhileFundingIsOngoing() | 0x9d0b746c |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| error | StageRaise__YouCannotWithdrawMoreThanTheProjectBalance() | 0x53081d86 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| error | StageRaise__YouCannotWithdrawMoreThanWithdrawableBalance() | 0x839de4c0 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| function | addSupportedToken(address,uint8) nonpayable | 0x1f87f6db |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| function | calculateFunderVotingPower(address,uint32) view returns (uint256) | 0xbc01253e |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| function | createProject(StageRaise.CreateProjectParams) nonpayable | 0x20e1175f |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| function | finalizeVotingProcess(uint32) nonpayable | 0x298e2583 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| function | fundProject(uint32,uint96) nonpayable | 0xafe7189d |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| function | getAmountWithdrawableForAProject(uint32) view returns (uint96) | 0xfaf1331e |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| function | getCurrentVotingRound(uint32) view returns (uint8) | 0xb03084fd |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| function | getProjectAmountWithdrawn(uint32) view returns (uint96) | 0x07ec22d8 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| function | getProjectBalance(uint32) view returns (uint96) | 0x8f1d4635 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| function | getProjectBasicInfo(uint32) view returns (StageRaise.ProjectInfo) | 0xea0a65db |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| function | getProjectContributorAmount(uint32,address) view returns (uint128) | 0x34ab2e0f |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| function | getProjectCount() view returns (uint32) | 0x3bcff3b0 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| function | getProjectFailedMilestoneStage(uint32) view returns (uint8) | 0x0ebf403f |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| function | getProjectMaxFunding(uint32) view returns (uint96) | 0xad885f90 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| function | getProjectMileStoneVotingStatus(uint32) view returns (bool) | 0x27c35b68 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| function | getProjectMilestoneStage(uint32) view returns (uint8) | 0xc75d92ba |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| function | getProjectMinFunding(uint32) view returns (uint96) | 0xde03057e |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| function | getProjectNoVotes(uint32) view returns (uint256) | 0x8ce4ebc7 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| function | getProjectPaymentToken(uint32) view returns (address) | 0x413680c1 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| function | getProjectVotingEndTime(uint32) view returns (uint64) | 0xd5aed413 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| function | getProjectYesVotes(uint32) view returns (uint256) | 0xaa2058db |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| function | getTokenDecimals(address) view returns (uint8) | 0x785c7cf6 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| function | hasFunderVotedInCurrentRound(uint32,address) view returns (bool) | 0xc34bf915 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| function | isTokenSupported(address) view returns (bool) | 0x75151b63 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| function | openProjectForMilestoneVotes(uint32) nonpayable | 0x6c04ae34 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| function | owner() view returns (address) | 0x8da5cb5b |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| function | projectById(uint32) view returns (StageRaise.ProjectBasics,StageRaise.ProjectMilestone,uint96,uint96) | 0x14bd4ac3 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| function | removeSupportedToken(address) nonpayable | 0x76319190 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| function | renounceOwnership() nonpayable | 0x715018a6 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| function | requestRefund(uint32) nonpayable | 0x84705e01 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| function | supportedTokens(address) view returns (bool) | 0x68c4ac26 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| function | takeAVoteForMilestoneStageIncrease(uint32,bool) nonpayable | 0xacee1fc3 |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| function | tokenDecimals(address) view returns (uint8) | 0x8ee573ac |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| function | transferOwnership(address) nonpayable | 0xf2fde38b |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| function | withdrawFunds(uint96,uint32,address payable) nonpayable | 0x203c4e8e |
|-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------|
| constructor | constructor(address,address,address) nonpayable | |
╰-------------+-------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------╯