Persist Urns in raw bytes32 format

- Enables simple usage in contract storage lookups
This commit is contained in:
Rob Mulholand
2019-02-08 11:41:17 -06:00
parent 0a024d429d
commit 09abcb841a
37 changed files with 99 additions and 106 deletions
+1
View File
@@ -41,6 +41,7 @@ func (c DentConverter) ToModels(ethLogs []types.Log) (result []interface{}, err
bidId := log.Topics[2].Big()
lot := log.Topics[3].Big().String()
bidValue := getBidValue(log)
// TODO: verify guy is available on Topics[1] (looks like it may just be an int id)
guy := common.HexToAddress(log.Topics[1].Hex()).String()
logIndex := log.Index