-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCorporationContainer.sol
81 lines (69 loc) · 1.78 KB
/
CorporationContainer.sol
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
pragma solidity >=0.4.0 <0.7.0;
contract DelawareCorporation {
struct DateTime {
uint16 year;
uint8 month;
uint8 day;
uint8 hour;
uint8 minute;
uint8 second;
uint8 weekday;
}
struct MailingAddress {
string line1;
string line2;
string attn;
string city;
string state;
string zip;
}
enum EntityType {naturalPerson, legalEntity}
struct irlContract {
string name;
Entity[] parties;
string description;
uint id;
string[] contents;
uint category;
DateTime executionDate;
}
struct Entity {
EntityType entityType;
string name;
string jxnOfIncorp;
MailingAddress entityMailingAddress;
MailingAddress entityBusinessAddress;
MailingAddress entityNoticeAddress;
address entityEthAddress;
bool accreditedInvestor;
uint entityId;
string email;
}
enum approvalType {board, stockholder, other}
struct corporateAction {
DateTime corporateActionDate;
Entity[] actors;
string actionDescription;
string[] contents;
approvalType[] approvals;
}
struct shareClass {
string name;
}
struct shareCert {
shareClass shareCertClass;
Entity holder;
DateTime issuanceDate;
corporateAction[] shareCertActions;
irlContract[] shareCertInstruments;
}
struct corporation {
Entity incorporator;
Entity[] boardOfDirectors;
Entity[] advisors;
Entity[] officers;
irlContract[] corpContracts;
corporateAction[] corporateActions;
shareCert[] stockLedger;
}
}