String returns the event type as a string
()
| 40 | |
| 41 | // String returns the event type as a string |
| 42 | func (d Event) String() string { |
| 43 | return [...]string{"unsupported", "burn", "lock", "LogLock", "LogBurn", "LogNewProphecyClaim", "newProphecyClaim", "create_claim"}[d] |
| 44 | } |
| 45 | |
| 46 | // EthereumEvent struct is used by LogLock and LogBurn |
| 47 | type EthereumEvent struct { |
no outgoing calls