(ctx contractapi.TransactionContextInterface, address string)
| 152 | } |
| 153 | |
| 154 | func (s *SmartContract) GetHomeByAddress(ctx contractapi.TransactionContextInterface, address string) (*Home, error) { |
| 155 | return readHome(ctx, address) |
| 156 | } |
| 157 | |
| 158 | func (s *SmartContract) GetHomes(ctx contractapi.TransactionContextInterface) ([]Home, error) { |
| 159 | count, err := currentID(ctx, homeCounterKey) |
nothing calls this directly
no test coverage detected