示例#1
0
 def bcs_deserialize(input: bytes) -> "UnstructuredBytesMetadata":
     v, buffer = bcs.deserialize(input, UnstructuredBytesMetadata)
     if buffer:
         raise st.DeserializationError("Some input bytes were not read")
     return v
示例#2
0
 def bcs_deserialize(input: bytes) -> "WriteOp":
     v, buffer = bcs.deserialize(input, WriteOp)
     if buffer:
         raise st.DeserializationError("Some input bytes were not read")
     return v
示例#3
0
 def bcs_deserialize(input: bytes) -> "TypeTag":
     v, buffer = bcs.deserialize(input, TypeTag)
     if buffer:
         raise st.DeserializationError("Some input bytes were not read")
     return v
示例#4
0
 def bcs_deserialize(input: bytes) -> "ChainId":
     v, buffer = bcs.deserialize(input, ChainId)
     if buffer:
         raise st.DeserializationError("Some input bytes were not read")
     return v
示例#5
0
 def bcs_deserialize(input: bytes) -> "TransactionPayload":
     v, buffer = bcs.deserialize(input, TransactionPayload)
     if buffer:
         raise st.DeserializationError("Some input bytes were not read")
     return v
示例#6
0
 def bcs_deserialize(input: bytes) -> "TravelRuleMetadataV0":
     v, buffer = bcs.deserialize(input, TravelRuleMetadataV0)
     if buffer:
         raise st.DeserializationError("Some input bytes were not read")
     return v
示例#7
0
 def bcs_deserialize(input: bytes) -> "RefundReason":
     v, buffer = bcs.deserialize(input, RefundReason)
     if buffer:
         raise st.DeserializationError("Some input bytes were not read")
     return v
示例#8
0
 def bcs_deserialize(input: bytes) -> "SignedTransaction":
     v, buffer = bcs.deserialize(input, SignedTransaction)
     if buffer:
         raise st.DeserializationError("Some input bytes were not read")
     return v
示例#9
0
 def bcs_deserialize(input: bytes) -> "AccountAddress":
     v, buffer = bcs.deserialize(input, AccountAddress)
     if buffer:
         raise st.DeserializationError("Some input bytes were not read")
     return v
示例#10
0
 def bcs_deserialize(input: bytes) -> "MultiEd25519Signature":
     v, buffer = bcs.deserialize(input, MultiEd25519Signature)
     if buffer:
         raise st.DeserializationError("Some input bytes were not read")
     return v
示例#11
0
 def bcs_deserialize(input: bytes) -> "Identifier":
     v, buffer = bcs.deserialize(input, Identifier)
     if buffer:
         raise st.DeserializationError("Some input bytes were not read")
     return v
示例#12
0
 def bcs_deserialize(input: bytes) -> "HashValue":
     v, buffer = bcs.deserialize(input, HashValue)
     if buffer:
         raise st.DeserializationError("Some input bytes were not read")
     return v
示例#13
0
 def bcs_deserialize(input: bytes) -> "GeneralMetadata":
     v, buffer = bcs.deserialize(input, GeneralMetadata)
     if buffer:
         raise st.DeserializationError("Some input bytes were not read")
     return v
示例#14
0
 def bcs_deserialize(input: bytes) -> "EventKey":
     v, buffer = bcs.deserialize(input, EventKey)
     if buffer:
         raise st.DeserializationError("Some input bytes were not read")
     return v
示例#15
0
 def bcs_deserialize(input: bytes) -> "ContractEventV0":
     v, buffer = bcs.deserialize(input, ContractEventV0)
     if buffer:
         raise st.DeserializationError("Some input bytes were not read")
     return v