Skip to content

five-on-it / packages/protocol/src/cops / encodeBountiesCommand

Function: encodeBountiesCommand() ​

encodeBountiesCommand(command): string

Defined in: packages/protocol/src/cops.ts:110

Serializes the bounty board's switch as a text frame.

Parameters ​

command ​

on ​

boolean = ...

type ​

"bounties" = ...

Returns ​

string