@hubiinetwork/soldoc
Version:
Solidity documentation generator
46 lines (25 loc) • 741 B
Markdown
# BugsBunny
[see the source](https://github.com/dev-matan-tsuberi/soldoc/tree/master/contracts/BugsBunny.sol)
> A simulator for Bug Bunny, the most famous Rabbit
>
> Author: Warned Bros
**Execution cost**: less than 99 gas
**Deployment cost**: less than 50000 gas
**Combined cost**: less than 50099 gas
## Methods
### doesEat(string)
>
>Determine if Bugs will accept `(_food)` to eat
>
> String comparison may be inefficient
>
> Author: Bob Clampett
**Execution cost**: No bound available
**Attributes**: constant
Params:
1. **_food** *of type `string`*
> The name of a food to evaluate (English)
Returns:
> true if Bugs will eat it, false otherwise
1. **output_0** *of type `bool`*
[Back to the top ↑](#bugsbunny)