예제 #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