Skip to content

Spec Contradiction in icrc127_create_bounty Parameters #2

@jneums

Description

@jneums

There appears to be a contradiction in the ICRC-127 specification regarding the parameters for icrc127_create_bounty.

The Contradiction:

  1. 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)
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions