There appears to be a contradiction in the ICRC-127 specification regarding the parameters for icrc127_create_bounty.
The Contradiction:
-
Section 4.1 ("icrc127_create_bounty - Creating a Bounty") lists several token-related fields as direct parameters of the function, such as:
token_canister_id (Principal)
token_amount (Nat)
subaccount (blob)
-
Section 9 ("Candid Function Definitions") provides the official Candid definition for CreateBountyRequest, which omits these fields from the record. It correctly implies that these details should be provided via the bounty_metadata map, using keys like icrc127:reward_canister.