pub fn create_signatory(
    program: &Program,
    signatory_server: Pubkey,
    signatory_server_token_account: Pubkey
) -> Instruction
Expand description

This instruction is used to stake the requisite amount of tokens necessary to endorse flow as retail. This stake is subject to slashing based on the quality of the order flow sent by the signatory server.

Signatory server operators provide helpful network participation by endorsing and forwarding retail order flow to the network. This helpful network participation is rewarded, or slashed based on the quality of order flow sent.

Arguments

  • signatory_server The public key of the signatory_server account.
  • signatory_server_token_account The signatory server’s token account used for originating the stake transfer. This account is expected to be mutable

Returns an instruction