Questions tagged [types]
The types tag has no usage guidance.
3
questions
3
votes
1
answer
70
views
How can I avoid sp.TOption type when using sp.unpack()?
Within my smartpy contract, I want to convert from one type into another using sp.pack() and sp.unpack.
Below is an example of the method I am trying to use, converting a string to bytes.
...
3
votes
1
answer
184
views
Is it possible to convert types in SmartPy?
For example, converting a TMutez into a TString?
1
vote
1
answer
92
views
Which hash function is used when converting an address from raw bytes?
With the raw address 0x0000861299624c9a3b52be10762c64bac282b1c02316 the first 4 characters (0000 in this case) represent tz1 and the rest of the string is the raw Tezos address.
From my research it ...