- {`${this.props.method.name}` +
+ {ContractFunction.isFallback(this.props.method)
+ ? 'function()'
+ : `${this.props.method.name}` +
`(${this.props.method.inputs.map(i => i.name).join(', ')})`}
- {(ContractFunction.isPureCall(this.props.method) &&
- this.makeBadge('success', 'white', 'call')) ||
- this.makeBadge('warning', 'black', 'send')}
+ {ContractFunction.isFallback(this.props.method)
+ ? this.makeBadge('light', 'black', 'fallback')
+ : (ContractFunction.isPureCall(this.props.method) &&
+ this.makeBadge('success', 'white', 'call')) ||
+ this.makeBadge('warning', 'black', 'send')}
-