MCPcopy Create free account
hub / github.com/Sifchain/sifnode / String

Method String

cmd/ebrelayer/types/types.go:74–79  ·  view source on GitHub ↗

String implements fmt.Stringer

()

Source from the content-addressed store, hash-verified

72
73// String implements fmt.Stringer
74func (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
82type ProphecyClaimEvent struct {

Callers

nothing calls this directly

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected