Skip to main content
Schema: canton.core Table: fact_app_reward_coupons Type: Base Table

What

Description

Tracks the creation of app reward coupons for application providers. These coupons are created during mining rounds and represent rewards earned by app providers.

Key Use Cases

  • Analyzing app provider reward distribution
  • Tracking featured vs unfeatured app rewards
  • Understanding per-round reward allocation
  • Monitoring app provider incentive economics

Important Relationships

  • Links to rounds via round_number
  • Can be joined to core__fact_round_opens or core__fact_round_closes
  • Related to core__fact_app_rewards (expiration of coupons)

Commonly-used Fields

  • coupon_amount: The reward amount in this coupon
  • app_provider: The party receiving the reward
  • beneficiary: The beneficiary of the coupon
  • is_featured_app: Whether this is for a featured application
  • round_number: Which mining round this coupon was created in

Columns

Column NameData TypeDescription
UPDATE_IDTEXTUPDATE_ID column
MIGRATION_IDNUMBERMIGRATION_ID column
RECORD_TIMETIMESTAMP_NTZRECORD_TIME column
EFFECTIVE_ATTIMESTAMP_NTZEFFECTIVE_AT column
EVENT_IDTEXTEVENT_ID column
EVENT_INDEXNUMBEREVENT_INDEX column
COUPON_AMOUNTNUMBERCOUPON_AMOUNT column
APP_PROVIDERTEXTAPP_PROVIDER column
BENEFICIARYTEXTBENEFICIARY column
IS_FEATURED_APPBOOLEANIS_FEATURED_APP column
ROUND_NUMBERNUMBERROUND_NUMBER column
DSO_PARTYTEXTDSO_PARTY column
EVENT_TYPETEXTEVENT_TYPE column
COUPON_CONTRACT_IDTEXTCOUPON_CONTRACT_ID column
PACKAGE_NAMETEXTPACKAGE_NAME column
TEMPLATE_IDTEXTTEMPLATE_ID column
CREATED_ATTIMESTAMP_NTZCREATED_AT column
SIGNATORIESVARIANTSIGNATORIES column
OBSERVERSVARIANTOBSERVERS column
EVENT_JSONVARIANTEVENT_JSON column
FACT_APP_REWARD_COUPON_IDTEXTFACT_APP_REWARD_COUPON_ID column
INSERTED_TIMESTAMPTIMESTAMP_NTZINSERTED_TIMESTAMP column
MODIFIED_TIMESTAMPTIMESTAMP_NTZMODIFIED_TIMESTAMP column