Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IAccount ¶
type IAccount interface { ContractAddress() ethcommon.Address Contract() *ethacc.Account Name() string Boxer() tribecrypto.AnonymBoxer SetContract(addr ethcommon.Address, backend chequebook.Backend) error Save() error }
IAccount is a mirror to the account data on the blockchain
type IGroup ¶
type IGroup interface { Address() ethcommon.Address Name() string IpfsHash() string SetIpfsHash(encIpfsHash []byte) error EncryptedIpfsHash() []byte AddMember(user ethcommon.Address) RemoveMember(user ethcommon.Address) IsMember(user ethcommon.Address) bool CountMembers() int Members() []ethcommon.Address Boxer() tribecrypto.SymmetricKey SetBoxer(boxer tribecrypto.SymmetricKey) Update(name string, members []ethcommon.Address, encIpfsHash []byte) error Encode() ([]byte, error) Save() error }
IGroup is a mirror to the group data on the blockchain
Click to show internal directories.
Click to hide internal directories.