stateMutability: a string with one of the following values: pure (specified to not read blockchain state), view (specified to not modify the blockchain state), nonpayable and payable (same as payable above).
constant: true if function is specified to never modify blockchain state; payable: true if function accepts ether, defaults to false.