String implements fmt.Stringer
()
| 72 | |
| 73 | // String implements fmt.Stringer |
| 74 | func (e EthereumEvent) String() string { |
| 75 | return fmt.Sprintf("\nChain ID: %v\nBridge contract address: %v\nToken symbol: %v\nToken "+ |
| 76 | "contract address: %v\nSender: %v\nRecipient: %v\nValue: %v\nNonce: %v\nClaim type: %v", |
| 77 | e.EthereumChainID, e.BridgeContractAddress.Hex(), e.Symbol, e.Token.Hex(), e.From.Hex(), |
| 78 | string(e.To), e.Value, e.Nonce, e.ClaimType.String()) |
| 79 | } |
| 80 | |
| 81 | // ProphecyClaimEvent struct which represents a LogNewProphecyClaim event |
| 82 | type ProphecyClaimEvent struct { |