You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
520 B
22 lines
520 B
2 years ago
|
import "./messages";
|
||
|
|
||
|
struct AddressList {
|
||
|
addresses: map[Int]Address;
|
||
|
length: Int;
|
||
|
}
|
||
|
|
||
|
contract Foundation {
|
||
|
admins: AddressList;
|
||
|
founders: AddressList;
|
||
|
percents: map[Address]Int;
|
||
|
vote_time: Int;
|
||
|
tonb: Address;
|
||
|
|
||
|
init(admins: AddressList, founders: AddressList, percents: map[Address]Int, vote_time: Int, tonb: Address) {
|
||
|
self.admins = admins;
|
||
|
self.founders = founders;
|
||
|
self.percents = percents;
|
||
|
self.vote_time = vote_time;
|
||
|
self.tonb = tonb;
|
||
|
}
|
||
|
}
|