Skip to main content

InstantiateMsg

InstantiateMsgDescriptionType
ownerOwner of the contractOptional String
feegranterEligible address able to authorize feegrants on behalf of the ICA.Optional String
ica_controller_code_idCode-id off the cw-ica-controller contractu64
headstash_paramsParameters for the cw-headstash contractHeadstashParams

HeadstashParams​

HeadstashParamsDescriptionType
cw_globnative x/bank token denomination for this snip120uString
headstash_code_idtotal amount of this to be distributed during this headstashUint128
snip120u_code_idsmart contract addr of snip120uAddr
snip120u_code_hashsmart contract addr of snip120uAddr
token_paramssmart contract addr of snip120uArray of HeadstashTokenParams
headstash_addrSmart contract address of the headstash contract if already has been instantiated.Optional String
fee_granterEligible address able to authorize feegrants on behalf of the ICA.Optional String
multiplierEnables reward multiplier for cw-headstashboolean
bloom_configEnables reward multiplier for cw-headstashOptional BloomConfig
headstash_init_configThe configuration used to instantiate cw-headstashHeadstashInitConfig

Any existing snip120u used in HeadstashTokenParams should be defined first in the list of HeadstashParams.

HeadstashTokenParams​

HeadstashTokenParamsDescriptionType
namename to use in the snip120u stateString
symbolSnip120u symbol to useu64
nativetoken denomination on its orgin providence chainString
ibcibc token denomination of this tokenString
snip_addrsmart contract address of the snip120u specific to this tokenOptional String
totalTotal amount to be distributed for a specific snipUint128

HeadstashInitConfig​

HeadstashInitConfigDescriptionType
claim_msg_plaintxtSnip120u symbol to useString
start_dateSnip120u symbol to useOptional u64
end_dateSnip120u symbol to useOptional u64
viewing_keySnip120u symbol to useString