ReferenceOn this pageReferenceThis is the Archetype language reference.DeclarationsStorageparametervariableassetComposite typesrecordenumstateseventInlinedconstantEntrypointsentrytransitiongetterSectionsno transfersourced bycalled bystate isrequirefail ifeffectFunctionsfunctionViewsviewTypesaddressaggregateasset_containerasset_keyasset_valueasset_viewbig_mapbls12_381_frbls12_381_g1bls12_381_g2boolbyteschain_idchestchest_keycontractdatedurationenumeventintiterable_big_mapkeykey_hashlambdalistmapnatneveroperationoptionorpartitionrationalrecordsapling_statesapling_transactionsetsignaturestringteztickettupleunitInstructionsSequencebegin end ; Local variablevarconst?=Assignment:=?:=+=-=*=/=&=|=ControlifmatchforwhileiterDivergentfailfail_somedo_requiredo_fail_ifSetaddremoveupdateListprependreverseconcatMapputremoveupdateAssetaddputupdateupdate_alladd_updateremoveput_removeremove_ifremove_allclearOperationtransferemitExpressionsConstantsminblocktimebalanceself_chain_idcallerlevelnowself_addresssourcestatetransferredtotal_voting_powerVariablesmetadataoperationsAccess operatorsa[b]a.bCopy operators{ with }Arithmetic operatorsa + ba - b- aa * ba / ba div ba % ba /% ba <<| ba |>> ba and ba or ba xor bnot aa = ba <> ba < ba <= ba > ba >= ba <=> ba < b < cBuiltinsabsaddaddress_to_contractapply_lambdablake2bbytes_to_natcall_viewceilcheck_signatureconcatcontainscontract_to_addresscreate_contractcreate_ticketexec_lambdaexp_hornerfloorfoldget_denominatorget_entrypointget_numeratorglobal_constantgreedy_andgreedy_orheadint_to_bytesint_to_dateint_to_natis_implicit_addressis_noneis_somejoin_ticketskeccakkey_hash_to_contractkey_to_addresskey_to_key_hashlambda_michelsonleftlengthmake_assetmake_big_mapmake_eventmake_listmake_mapmake_operationmake_sandbox_exec_operationmake_setmapmaxmichelsonminmutez_to_natnat_to_bytesnat_to_stringnonenthopen_chestpackpairing_checkprependputread_ticketremovereverserightsapling_empty_statesapling_verify_updateset_delegatesha256sha3sha512simplify_rationalslicesomesplit_ticketsub_mutezsub_nattailunpackupdateupdatevoting_powerControlif then elsematch with? :Declarationlet inAsset[][].[]?.containscountnthsortsumselectheadtailto_container