Skip to main content

InstantiateMsg

The InstantiateMsg is the message that is used to instantiate the cw-headstash contract.

Fields

InstantiateMsgDescriptionType
ownerOwner of the contractString
claim_msg_plaintextThe value that is used signed to generate the offline signature.String
start_dateoptional date that once reached, will start headstash distribution event.Optional u64
end_dateoptional date that once reached, will end headstash distribution event.Optional u64
snip120u_code_hashcode hash of custom snip20 contract for headstashes.String
snipsA list of custom snip20-headstash contracts.Array of Snip120u
multiplierOption to enable contract to add multiplier on allocations when claiming. currently 1.33x.boolean
viewing_keyviewing key permit.String
bloom_configviewing key permit.Optional BloomConfig

Snip120u

Snip120uDescriptionType
native_tokennative x/bank token denomination for this snip120uString
addrsmart contract addr of snip120uAddr
total_amounttotal amount of this to be distributed during this headstashUint128

BloomConfig

BloomConfigDescriptionType
native_tokennative x/bank token denomination for this snip120uString
min_cadanceminimum cadance that can be set before messages are eligible for mempool. if 0, default_cadance is set.u64
max_granularitymaximum number of transactions a bloom msg will processu64