Пример #1
0
 def bcs_deserialize(input: bytes) -> 'Package':
     v, buffer = bcs.deserialize(input, Package)
     if buffer:
         raise st.DeserializationError("Some input bytes were not read")
     return v
Пример #2
0
 def bcs_deserialize(input: bytes) -> 'ProposalCreatedEvent':
     v, buffer = bcs.deserialize(input, ProposalCreatedEvent)
     if buffer:
         raise st.DeserializationError("Some input bytes were not read")
     return v
Пример #3
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
Пример #4
0
 def bcs_deserialize(input: bytes) -> 'NewBlockEvent':
     v, buffer = bcs.deserialize(input, NewBlockEvent)
     if buffer:
         raise st.DeserializationError("Some input bytes were not read")
     return v
Пример #5
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
Пример #6
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
Пример #7
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
Пример #8
0
 def bcs_deserialize(input: bytes) -> 'BalanceResource':
     v, buffer = bcs.deserialize(input, BalanceResource)
     if buffer:
         raise st.DeserializationError("Some input bytes were not read")
     return v
Пример #9
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
Пример #10
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
Пример #11
0
 def bcs_deserialize(input: bytes) -> 'DataPath':
     v, buffer = bcs.deserialize(input, DataPath)
     if buffer:
         raise st.DeserializationError("Some input bytes were not read")
     return v
Пример #12
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
Пример #13
0
 def bcs_deserialize(input: bytes) -> 'ChangeSet':
     v, buffer = bcs.deserialize(input, ChangeSet)
     if buffer:
         raise st.DeserializationError("Some input bytes were not read")
     return v
Пример #14
0
 def bcs_deserialize(input: bytes) -> 'ScriptFunction':
     v, buffer = bcs.deserialize(input, ScriptFunction)
     if buffer:
         raise st.DeserializationError("Some input bytes were not read")
     return v
Пример #15
0
 def bcs_deserialize(input: bytes) -> 'KeyRotationCapabilityResource':
     v, buffer = bcs.deserialize(input, KeyRotationCapabilityResource)
     if buffer:
         raise st.DeserializationError("Some input bytes were not read")
     return v
Пример #16
0
 def bcs_deserialize(input: bytes) -> 'SignedUserTransaction':
     v, buffer = bcs.deserialize(input, SignedUserTransaction)
     if buffer:
         raise st.DeserializationError("Some input bytes were not read")
     return v
Пример #17
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
Пример #18
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
Пример #19
0
 def bcs_deserialize(input: bytes) -> 'ModuleId':
     v, buffer = bcs.deserialize(input, ModuleId)
     if buffer:
         raise st.DeserializationError("Some input bytes were not read")
     return v
Пример #20
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
Пример #21
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