text stringlengths 0 601k |
|---|
let find_entrypoint_for_type ( type full exp error_trace ) ~ error_details ( ~ full : full ty ) ( ~ expected : exp ty ) entrypoints entrypoint loc : ( Entrypoint . t * exp ty , error_trace ) Gas_monad . t = let open Gas_monad in find_entrypoint ~ error_details full entrypoints entrypoint >>$ function | ( _ , Ex_ty ty )... |
let well_formed_entrypoints ( type full ) ( full : full ty ) entrypoints = let merge path ( type t ) ( ty : t ty ) ( entrypoints : t entrypoints ) reachable ( ( first_unreachable , all ) as acc ) = match entrypoints . name with | None -> ok ( ( if reachable then acc else match ty with | Union_t _ -> acc | _ -> ( match ... |
let parse_parameter_ty_and_entrypoints : context -> stack_depth : int -> legacy : bool -> Script . node -> ( ex_parameter_ty_and_entrypoints * context ) tzresult = fun ctxt ~ stack_depth ~ legacy node -> parse_passable_ty ctxt ~ stack_depth ( : stack_depth + 1 ) ~ legacy node ~ ret : Parse_entrypoints >>? fun ( res , c... |
let parse_passable_ty = parse_passable_ty ~ ret : Don ' t_parse_entrypoints |
let parse_uint ~ nb_bits = assert ( Compare . Int . ( nb_bits >= 0 && nb_bits <= 30 ) ) ; let max_int = ( 1 lsl nb_bits ) - 1 in let max_z = Z . of_int max_int in function | Micheline . Int ( _ , n ) when Compare . Z . ( Z . zero <= n ) && Compare . Z . ( n <= max_z ) -> ok ( Z . to_int n ) | node -> error @@ Invalid_s... |
let parse_uint10 = parse_uint ~ nb_bits : 10 |
let parse_uint11 = parse_uint ~ nb_bits : 11 |
let opened_ticket_type loc ty = pair_3_key loc address_key ty nat_key |
let parse_unit ctxt ~ legacy = function | Prim ( loc , D_Unit , [ ] , annot ) -> ( if legacy then Result . return_unit else error_unexpected_annot loc annot ) >>? fun ( ) -> Gas . consume ctxt Typecheck_costs . unit >|? fun ctxt -> ( ( ) , ctxt ) | Prim ( loc , D_Unit , l , _ ) -> error @@ Invalid_arity ( loc , D_Unit ... |
let parse_bool ctxt ~ legacy = function | Prim ( loc , D_True , [ ] , annot ) -> ( if legacy then Result . return_unit else error_unexpected_annot loc annot ) >>? fun ( ) -> Gas . consume ctxt Typecheck_costs . bool >|? fun ctxt -> ( true , ctxt ) | Prim ( loc , D_False , [ ] , annot ) -> ( if legacy then Result . retu... |
let parse_string ctxt : Script . node -> ( Script_string . t * context ) tzresult = function | String ( loc , v ) as expr -> Gas . consume ctxt ( Typecheck_costs . check_printable v ) >>? fun ctxt -> record_trace ( Invalid_syntactic_constant ( loc , strip_locations expr , " a printable ascii string " ) ) ( Script_strin... |
let parse_bytes ctxt = function | Bytes ( _ , v ) -> ok ( v , ctxt ) | expr -> error @@ Invalid_kind ( location expr , [ Bytes_kind ] , kind expr ) |
let parse_int ctxt = function | Int ( _ , v ) -> ok ( Script_int . of_zint v , ctxt ) | expr -> error @@ Invalid_kind ( location expr , [ Int_kind ] , kind expr ) |
let parse_nat ctxt : Script . node -> ( Script_int . n Script_int . num * context ) tzresult = function | Int ( loc , v ) as expr -> ( let v = Script_int . of_zint v in match Script_int . is_nat v with | Some nat -> ok ( nat , ctxt ) | None -> error @@ Invalid_syntactic_constant ( loc , strip_locations expr , " a non -... |
let parse_mutez ctxt : Script . node -> ( Tez . t * context ) tzresult = function | Int ( loc , v ) as expr -> ( match let open Option in bind ( catch ( fun ( ) -> Z . to_int64 v ) ) Tez . of_mutez with | Some tez -> Ok ( tez , ctxt ) | None -> error @@ Invalid_syntactic_constant ( loc , strip_locations expr , " a vali... |
let parse_timestamp ctxt : Script . node -> ( Script_timestamp . t * context ) tzresult = function | Int ( _ , v ) -> ok ( Script_timestamp . of_zint v , ctxt ) | String ( loc , s ) as expr -> ( Gas . consume ctxt Typecheck_costs . timestamp_readable >>? fun ctxt -> match Script_timestamp . of_string s with | Some v ->... |
let parse_key ctxt : Script . node -> ( public_key * context ) tzresult = function | Bytes ( loc , bytes ) as expr -> ( Gas . consume ctxt Typecheck_costs . public_key_optimized >>? fun ctxt -> match Data_encoding . Binary . of_bytes_opt Signature . Public_key . encoding bytes with | Some k -> ok ( k , ctxt ) | None ->... |
let parse_key_hash ctxt : Script . node -> ( public_key_hash * context ) tzresult = function | Bytes ( loc , bytes ) as expr -> ( Gas . consume ctxt Typecheck_costs . key_hash_optimized >>? fun ctxt -> match Data_encoding . Binary . of_bytes_opt Signature . Public_key_hash . encoding bytes with | Some k -> ok ( k , ctx... |
let parse_signature ctxt : Script . node -> ( signature * context ) tzresult = function | Bytes ( loc , bytes ) as expr -> ( Gas . consume ctxt Typecheck_costs . signature_optimized >>? fun ctxt -> match Data_encoding . Binary . of_bytes_opt Script_signature . encoding bytes with | Some k -> ok ( k , ctxt ) | None -> e... |
let parse_chain_id ctxt : Script . node -> ( Script_chain_id . t * context ) tzresult = function | Bytes ( loc , bytes ) as expr -> ( Gas . consume ctxt Typecheck_costs . chain_id_optimized >>? fun ctxt -> match Data_encoding . Binary . of_bytes_opt Script_chain_id . encoding bytes with | Some k -> ok ( k , ctxt ) | No... |
let parse_address ctxt : Script . node -> ( address * context ) tzresult = function | Bytes ( loc , bytes ) as expr -> ( Gas . consume ctxt Typecheck_costs . contract >>? fun ctxt -> match Data_encoding . Binary . of_bytes_opt Data_encoding . ( tup2 Destination . encoding Entrypoint . value_encoding ) bytes with | Some... |
let parse_never expr : ( never * context ) tzresult = error @@ Invalid_never_expr ( location expr ) |
let parse_pair ( type r ) parse_l parse_r ctxt ~ legacy ( r_comb_witness : ( r , unit -> _ ) comb_witness ) expr = let parse_comb loc l rs = parse_l ctxt l >>=? fun ( l , ctxt ) -> ( match ( rs , r_comb_witness ) with | ( [ r ] , _ ) -> ok r | ( [ ] , _ ) -> error @@ Invalid_arity ( loc , D_Pair , 2 , 1 ) | ( _ :: _ , ... |
let parse_union parse_l parse_r ctxt ~ legacy = function | Prim ( loc , D_Left , [ v ] , annot ) -> ( if legacy then Result . return_unit else error_unexpected_annot loc annot ) >>?= fun ( ) -> parse_l ctxt v >|=? fun ( v , ctxt ) -> ( L v , ctxt ) | Prim ( loc , D_Left , l , _ ) -> fail @@ Invalid_arity ( loc , D_Left... |
let parse_option parse_v ctxt ~ legacy = function | Prim ( loc , D_Some , [ v ] , annot ) -> ( if legacy then Result . return_unit else error_unexpected_annot loc annot ) >>?= fun ( ) -> parse_v ctxt v >|=? fun ( v , ctxt ) -> ( Some v , ctxt ) | Prim ( loc , D_Some , l , _ ) -> fail @@ Invalid_arity ( loc , D_Some , 1... |
let comparable_comb_witness1 : type t . t comparable_ty -> ( t , unit -> unit ) comb_witness = function | Pair_key _ -> Comb_Pair Comb_Any | _ -> Comb_Any type a . ? type_logger : type_logger -> context -> a comparable_ty -> Script . node -> ( a * context ) tzresult Lwt . t = fun ? type_logger ctxt ty script_data -> le... |
let comb_witness1 : type t . t ty -> ( t , unit -> unit ) comb_witness = function | Pair_t _ -> Comb_Pair Comb_Any | _ -> Comb_Any type a . ? type_logger : type_logger -> stack_depth : int -> context -> legacy : bool -> allow_forged : bool -> a ty -> Script . node -> ( a * context ) tzresult Lwt . t = fun ? type_logger... |
let parse_contract_for_script : type arg . context -> Script . location -> arg ty -> Destination . t -> entrypoint : Entrypoint . t -> ( context * arg typed_contract option ) tzresult Lwt . t = fun ctxt loc arg contract ~ entrypoint -> match contract with | Contract contract -> ( match Contract . is_implicit contract w... |
let parse_code : ? type_logger : type_logger -> context -> legacy : bool -> code : lazy_expr -> ( ex_code * context ) tzresult Lwt . t = fun ? type_logger ctxt ~ legacy ~ code -> Script . force_decode_in_context ~ consume_deserialization_gas : When_needed ctxt code >>?= fun ( code , ctxt ) -> Global_constants_storage .... |
let parse_storage : ? type_logger : type_logger -> context -> legacy : bool -> allow_forged : bool -> ' storage ty -> storage : lazy_expr -> ( ' storage * context ) tzresult Lwt . t = fun ? type_logger ctxt ~ legacy ~ allow_forged storage_type ~ storage -> Script . force_decode_in_context ~ consume_deserialization_gas ... |
let typecheck_code : legacy : bool -> show_types : bool -> context -> Script . expr -> ( type_map * context ) tzresult Lwt . t = fun ~ legacy ~ show_types ctxt code -> Global_constants_storage . expand ctxt code >>=? fun ( ctxt , code ) -> parse_toplevel ctxt ~ legacy code >>?= fun ( { arg_type ; storage_type ; code_fi... |
let list_entrypoints ctxt ( type full ) ( full : full ty ) ( entrypoints : full entrypoints ) = let merge path ( type t ) ( ty : t ty ) ( entrypoints : t entrypoints ) reachable ( ( unreachables , all ) as acc ) = match entrypoints . name with | None -> ok ( ( if reachable then acc else match ty with | Union_t _ -> acc... |
let comb_witness2 : type t . t ty -> ( t , unit -> unit -> unit ) comb_witness = function | Pair_t ( _ , Pair_t _ , _ ) -> Comb_Pair ( Comb_Pair Comb_Any ) | Pair_t _ -> Comb_Pair Comb_Any | _ -> Comb_Any type a . context -> stack_depth : int -> unparsing_mode -> a ty -> a -> ( Script . node * context ) tzresult Lwt . ... |
let unparse_script ctxt mode { code ; arg_type ; storage ; storage_type ; entrypoints ; views ; _ } = let ( Lam ( _ , original_code ) ) = code in unparse_code ctxt ~ stack_depth : 0 mode original_code >>=? fun ( code , ctxt ) -> unparse_data ctxt ~ stack_depth : 0 mode storage_type storage >>=? fun ( storage , ctxt ) -... |
let pack_data_with_mode ctxt typ data ~ mode = unparse_data ~ stack_depth : 0 ctxt mode typ data >>=? fun ( unparsed , ctxt ) -> Lwt . return @@ pack_node unparsed ctxt |
let hash_data ctxt typ data = pack_data_with_mode ctxt typ data ~ mode : Optimized_legacy >>=? fun ( bytes , ctxt ) -> Lwt . return @@ hash_bytes ctxt bytes |
let pack_data ctxt typ data = pack_data_with_mode ctxt typ data ~ mode : Optimized_legacy |
let empty_big_map key_type value_type = { id = None ; diff = { map = Big_map_overlay . empty ; size = 0 } ; key_type ; value_type ; } |
let big_map_mem ctxt key { id ; diff ; key_type ; _ } = hash_comparable_data ctxt key_type key >>=? fun ( key , ctxt ) -> match ( Big_map_overlay . find key diff . map , id ) with | ( None , None ) -> return ( false , ctxt ) | ( None , Some id ) -> Alpha_context . Big_map . mem ctxt id key >|=? fun ( ctxt , res ) -> ( ... |
let big_map_get_by_hash ctxt key { id ; diff ; value_type ; _ } = match ( Big_map_overlay . find key diff . map , id ) with | ( Some ( _ , x ) , _ ) -> return ( x , ctxt ) | ( None , None ) -> return ( None , ctxt ) | ( None , Some id ) -> ( Alpha_context . Big_map . get_opt ctxt id key >>=? function | ( ctxt , None ) ... |
let big_map_get ctxt key map = hash_comparable_data ctxt map . key_type key >>=? fun ( key_hash , ctxt ) -> big_map_get_by_hash ctxt key_hash map |
let big_map_update_by_hash ctxt key_hash key value map = let contains = Big_map_overlay . mem key_hash map . diff . map in return ( { map with diff = { map = Big_map_overlay . add key_hash ( key , value ) map . diff . map ; size = ( if contains then map . diff . size else map . diff . size + 1 ) ; } ; } , ctxt ) |
let big_map_update ctxt key value map = hash_comparable_data ctxt map . key_type key >>=? fun ( key_hash , ctxt ) -> big_map_update_by_hash ctxt key_hash key value map |
let big_map_get_and_update ctxt key value map = hash_comparable_data ctxt map . key_type key >>=? fun ( key_hash , ctxt ) -> big_map_update_by_hash ctxt key_hash key value map >>=? fun ( map ' , ctxt ) -> big_map_get_by_hash ctxt key_hash map >>=? fun ( old_value , ctxt ) -> return ( ( old_value , map ' ) , ctxt ) |
let diff_of_big_map ctxt mode ~ temporary ~ ids_to_copy { id ; key_type ; value_type ; diff } = ( match id with | Some id -> if Lazy_storage . IdSet . mem Big_map id ids_to_copy then Big_map . fresh ~ temporary ctxt >|=? fun ( ctxt , duplicate ) -> ( ctxt , Lazy_storage . Copy { src = id } , duplicate ) else return ( c... |
let diff_of_sapling_state ctxt ~ temporary ~ ids_to_copy ( { id ; diff ; memo_size } : Sapling . state ) = ( match id with | Some id -> if Lazy_storage . IdSet . mem Sapling_state id ids_to_copy then Sapling . fresh ~ temporary ctxt >|=? fun ( ctxt , duplicate ) -> ( ctxt , Lazy_storage . Copy { src = id } , duplicate ... |
type ' ty has_lazy_storage = | Big_map_f : ( ' a , ' b ) big_map has_lazy_storage | Sapling_state_f : Sapling . state has_lazy_storage | False_f : _ has_lazy_storage | Pair_f : ' a has_lazy_storage * ' b has_lazy_storage -> ( ' a , ' b ) pair has_lazy_storage | Union_f : ' a has_lazy_storage * ' b has_lazy_storage -> (... |
let rec has_lazy_storage : type t . t ty -> t has_lazy_storage = fun ty -> let aux1 cons t = match has_lazy_storage t with False_f -> False_f | h -> cons h in let aux2 cons t1 t2 = match ( has_lazy_storage t1 , has_lazy_storage t2 ) with | ( False_f , False_f ) -> False_f | ( h1 , h2 ) -> cons h1 h2 in match ty with | ... |
module Fold_lazy_storage = struct type ( ' acc , ' error ) result = | Ok : ' acc -> ( ' acc , ' error ) result | Error : ( ' acc , unit ) result end type a error . f ( ' : acc , error ) Fold_lazy_storage . result Lazy_storage . IdSet . fold_f -> init ' : acc -> context -> a ty -> a -> has_lazy_storage : a has_lazy_stor... |
let list_of_big_map_ids ids = Lazy_storage . IdSet . fold Big_map ( fun id acc -> id :: acc ) ids [ ] |
let parse_data = parse_data ~ stack_depth : 0 |
let parse_instr : type a s . ? type_logger : type_logger -> tc_context -> context -> legacy : bool -> Script . node -> ( a , s ) stack_ty -> ( ( a , s ) judgement * context ) tzresult Lwt . t = fun ? type_logger tc_context ctxt ~ legacy script_instr stack_ty -> parse_instr ~ stack_depth : 0 ? type_logger tc_context ctx... |
let unparse_data = unparse_data ~ stack_depth : 0 |
let unparse_code ctxt mode code = Global_constants_storage . expand ctxt ( strip_locations code ) >>=? fun ( ctxt , code ) -> unparse_code ~ stack_depth : 0 ctxt mode ( root code ) |
let parse_contract context loc arg_ty contract ~ entrypoint = parse_contract ~ stack_depth : 0 context loc arg_ty contract ~ entrypoint |
let parse_toplevel ctxt ~ legacy toplevel = Global_constants_storage . expand ctxt toplevel >>=? fun ( ctxt , toplevel ) -> Lwt . return @@ parse_toplevel ctxt ~ legacy toplevel |
let parse_comparable_ty = parse_comparable_ty ~ stack_depth : 0 |
let parse_big_map_value_ty = parse_big_map_value_ty ~ stack_depth : 0 |
let parse_packable_ty = parse_packable_ty ~ stack_depth : 0 |
let parse_passable_ty = parse_passable_ty ~ stack_depth : 0 |
let parse_any_ty = parse_any_ty ~ stack_depth : 0 |
let parse_ty = parse_ty ~ stack_depth : 0 ~ ret : Don ' t_parse_entrypoints |
let parse_parameter_ty_and_entrypoints = parse_parameter_ty_and_entrypoints ~ stack_depth : 0 let has_lazy_storage = has_lazy_storage ty in let f ( type i a u ) ( kind : ( i , a , u ) Lazy_storage . Kind . t ) ( id : i ) single_id_opt : ( Sapling . Id . t option , unit ) Fold_lazy_storage . result = match kind with | L... |
let script_size ( Ex_script { code_size ; code = _ ; arg_type = _ ; storage ; storage_type ; entrypoints = _ ; views = _ ; } ) = let ( nodes , storage_size ) = Script_typed_ir_size . value_size storage_type storage in let cost = Script_typed_ir_size_costs . nodes_cost ~ nodes in ( Saturation_repr . ( add code_size stor... |
let make x = Map_tag x |
let get_module ( Map_tag x ) = x |
let key_ty : type a b . ( a , b ) map -> a comparable_ty = fun ( Map_tag ( module Box ) ) -> Box . key_ty |
let empty : type a b . a comparable_ty -> ( a , b ) map = fun ty -> let module OPS = Map . Make ( struct type t = a let compare = Script_comparable . compare_comparable ty end ) in Map_tag ( module struct type key = a type value = b let key_ty = ty module OPS = struct type value = b include OPS type nonrec t = value t ... |
let get : type key value . key -> ( key , value ) map -> value option = fun k ( Map_tag ( module Box ) ) -> Box . OPS . find k Box . boxed |
let update : type a b . a -> b option -> ( a , b ) map -> ( a , b ) map = fun k v ( Map_tag ( module Box ) ) -> let ( boxed , size ) = let contains = match Box . OPS . find k Box . boxed with None -> false | _ -> true in match v with | Some v -> ( Box . OPS . add k v Box . boxed , Box . size + if contains then 0 else 1... |
let mem : type key value . key -> ( key , value ) map -> bool = fun k ( Map_tag ( module Box ) ) -> match Box . OPS . find k Box . boxed with None -> false | _ -> true |
let fold : type key value acc . ( key -> value -> acc -> acc ) -> ( key , value ) map -> acc -> acc = fun f ( Map_tag ( module Box ) ) -> Box . OPS . fold f Box . boxed |
let size : type key value . ( key , value ) map -> Script_int . n Script_int . num = fun ( Map_tag ( module Box ) ) -> Script_int . ( abs ( of_int Box . size ) ) |
module Input = struct type t = { signature : string ; pubkey : string } ; ; let check v = match fst v with | OP_DATA ( n , sign ) :: OP_DATA ( n ' , pk ) :: [ ] -> true | _ -> false ; ; let encode v = Script . of_opcodes [ OP_DATA ( String . length v . signature , v . signature ) ; OP_DATA ( String . length v . pubkey ... |
module Output = struct type t = string ; ; let name = " p2pkh " ; ; let check s = match fst s with | OP_DUP :: OP_HASH160 :: OP_DATA ( 20 , pkh ) :: OP_EQUALVERIFY :: OP_CHECKSIG :: [ ] -> true | _ -> false ; ; let encode pkh = Script . of_opcodes [ OP_DUP ; OP_HASH160 ; OP_DATA ( 20 , pkh ) ; OP_EQUALVERIFY ; OP_CHECK... |
module Script_pubkeyhash = Script_template . Make_template ( Input ) ( Output ) ; ; |
type expr = Michelson_v1_primitives . prim Micheline . canonical |
type lazy_expr = expr Data_encoding . lazy_t |
type ' location michelson_node = ( ' location , Michelson_v1_primitives . prim ) Micheline . node |
type unlocated_michelson_node = unit michelson_node |
type node = location michelson_node |
let expr_encoding = Micheline . canonical_encoding ~ variant " : michelson_v1 " Michelson_v1_primitives . prim_encoding |
let ( ) = register_error_kind ` Permanent ~ id " : invalid_binary_format " ~ title " : Invalid binary format " ~ description : " Could not deserialize some piece of data from its binary representation " Data_encoding . empty ( function Lazy_script_decode -> Some ( ) | _ -> None ) ( fun ( ) -> Lazy_script_decode ) |
let lazy_expr_encoding = Data_encoding . lazy_encoding expr_encoding |
let lazy_expr expr = Data_encoding . make_lazy expr_encoding expr |
type t = { code : lazy_expr ; storage : lazy_expr } |
let encoding = let open Data_encoding in def " scripted . contracts " @@ conv ( fun { code ; storage } -> ( code , storage ) ) ( fun ( code , storage ) -> { code ; storage } ) ( obj2 ( req " code " lazy_expr_encoding ) ( req " storage " lazy_expr_encoding ) ) |
module Micheline_size = struct type t = { nodes : S . may_saturate S . t ; string_bytes : S . may_saturate S . t ; z_bytes : S . may_saturate S . t ; } let make ~ nodes ~ string_bytes ~ z_bytes = { nodes ; string_bytes ; z_bytes } let zero = { nodes = S . zero ; string_bytes = S . zero ; z_bytes = S . zero } let add_in... |
module Micheline_decoding = struct let micheline_size_dependent_cost = let traversal_cost = S . safe_int 60 in let string_per_byte_cost = S . safe_int 10 in let z_per_byte_cost = S . safe_int 10 in Micheline_size . make ~ nodes : traversal_cost ~ string_bytes : string_per_byte_cost ~ z_bytes : z_per_byte_cost let bytes... |
module Micheline_encoding = struct let micheline_size_dependent_cost = let traversal_cost = S . safe_int 100 in let string_per_byte_cost = S . safe_int 10 in let z_per_byte_cost = S . safe_int 25 in Micheline_size . make ~ nodes : traversal_cost ~ string_bytes : string_per_byte_cost ~ z_bytes : z_per_byte_cost let byte... |
let expr_size expr = Micheline_size . of_node ( Micheline . root expr ) |
let serialization_cost size = Gas_limit_repr . atomic_step_cost @@ Micheline_size . dot_product size Micheline_encoding . micheline_size_dependent_cost |
let deserialization_cost size = Gas_limit_repr . atomic_step_cost @@ Micheline_size . dot_product size Micheline_decoding . micheline_size_dependent_cost |
let deserialization_cost_estimated_from_bytes bytes_len = Gas_limit_repr . atomic_step_cost @@ S . mul Micheline_decoding . bytes_dependent_cost ( S . safe_int bytes_len ) |
let serialization_cost_estimated_from_bytes bytes_len = Gas_limit_repr . atomic_step_cost @@ S . mul Micheline_encoding . bytes_dependent_cost ( S . safe_int bytes_len ) |
let cost_micheline_strip_locations size = Gas_limit_repr . atomic_step_cost @@ S . mul ( S . safe_int size ) ( S . safe_int 51 ) |
let cost_micheline_strip_annotations size = Gas_limit_repr . atomic_step_cost @@ S . mul ( S . safe_int size ) ( S . safe_int 51 ) |
let bytes_node_cost s = serialization_cost_estimated_from_bytes ( Bytes . length s ) |
let deserialized_cost expr = Gas_limit_repr . atomic_step_cost @@ deserialization_cost ( expr_size expr ) |
let serialized_cost bytes = let cost = let size = Bytes . length bytes in S . add ( serialization_cost_estimated_from_bytes size ) @@ S . add ( S . safe_int 65 ) ( S . shift_right ( S . safe_int size ) 4 ) in Gas_limit_repr . atomic_step_cost cost |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.