Bedeho Mender
|
2a79786aa8
Rustfmt cleanup
|
5 years ago |
Bedeho Mender
|
57822978db
Removing redundant fields and checks
|
5 years ago |
Mokhtar Naamani
|
32da3d32a1
fix build
|
5 years ago |
Mokhtar Naamani
|
0e471a1dd1
Merge branch 'development' into use-polkadot-master-substrate-version
|
5 years ago |
Mokhtar Naamani
|
93a68ece71
fix all compiler warnings
|
5 years ago |
Mokhtar Naamani
|
502e883bdc
tracking polkadot-master branch of substrate
|
5 years ago |
Mokhtar Naamani
|
be118a6d6d
make ActorId configurable on membership Trait
|
5 years ago |
Mokhtar Naamani
|
5153e8e6c0
some comments around member Profile fields
|
5 years ago |
Mokhtar Naamani
|
5e67f4df5c
membership: added key_can_sign_for_role
|
5 years ago |
Mokhtar Naamani
|
f8feb8c86b
BTreeSet for roles eliminted need for RoleId type
|
5 years ago |
Mokhtar Naamani
|
52a21c1f0d
cleanup code around role registration
|
5 years ago |
Mokhtar Naamani
|
94c09662fa
do not remove ActorInRole from map for history
|
5 years ago |
Mokhtar Naamani
|
7476f93758
refactor key management
|
5 years ago |
Mokhtar Naamani
|
6e705b20a7
factor out roles types into module role_type and use BTreeSet instead of BTreeMap
|
5 years ago |
Mokhtar Naamani
|
3cf52da08d
drop FirstMemberId and NextMemberId, use zero as first id and have MembersCreated instead
|
5 years ago |
Mokhtar Naamani
|
8ff2a4fa72
membership: revert to using an enum for Role, safer
|
5 years ago |
Mokhtar Naamani
|
e3cfaa5abd
membership: tests role registration
|
5 years ago |
Mokhtar Naamani
|
4e82db86ce
membership: tests initial balance for genesis members
|
5 years ago |
Mokhtar Naamani
|
6500bf74a3
membership: tests set_controller_key
|
5 years ago |
Mokhtar Naamani
|
d95c482e31
membership: tests: initial members at genesis
|
5 years ago |
Mokhtar Naamani
|
6d059cfff4
membership: role helper methods pass in controller key instead of member_id
|
5 years ago |
Mokhtar Naamani
|
28c270f828
membership: cleanup helper methods
|
5 years ago |
Mokhtar Naamani
|
e125efde70
membership: remove id property on PaidMembershipTerms, add Genesis enum for EntryMethod
|
5 years ago |
Mokhtar Naamani
|
7647a83890
membership: remove id property on Profile
|
5 years ago |
Mokhtar Naamani
|
2ee1fc73cc
membership: make controller accounts bindable only to one member
|
5 years ago |
Mokhtar Naamani
|
cc908554af
membership: role registration policy
|
5 years ago |
Mokhtar Naamani
|
686cee9747
membership: policy only one instance of role per member
|
5 years ago |
Mokhtar Naamani
|
17838c4d7a
membership: make RoleId and ActorId configurable types
|
5 years ago |
Mokhtar Naamani
|
bf54ec1711
membership: new events and helper method
|
5 years ago |
Mokhtar Naamani
|
f7d09b1d0a
rustfmt
|
5 years ago |