pub fn decode(script: &Script) -> Option<ScriptCall> {
        match SCRIPT_DECODER_MAP.get(script.code()) {
            Some(decoder) => decoder(script),
            None => None,
        }
    }
/// Try to recognize a Libra `Script` and convert it into a structured object `ScriptCall`.
Try to recognize a Libra `Script` and convert it into a structured object `ScriptCall`.
Try to recognize a Libra ` Script ` and convert it into a structured object ` ScriptCall ` .
pub fn decode(script: &Script) -> Option<ScriptCall> {
        match SCRIPT_DECODER_MAP.get(script.code()) {
            Some(decoder) => decoder(script),
            None => None,
        }
    }
pub fn decode ( script : & Script ) -> Option < ScriptCall > { match SCRIPT_DECODER_MAP . get ( script . code ( ) ) { Some ( decoder ) => decoder ( script ) , None => None , } }
Try to recognize a Libra `Script` and convert it into a structured object `ScriptCall`.
Try to recognize a Libra ` Script ` and convert it into a structured object ` ScriptCall ` .
script
&Script
script
&Script