Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 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