7
votes
Gas costs types in Michelson
There are eight types of costs:
1 Reading cost
2 Deserialization cost
3 Parsing cost
4 Type comparison cost
5 Interpreter cost
6 Unparsing cost
7 Serialization cost
8 Writng ...
Ezy♦
- 6,006
6
votes
Accepted
Differences between Micheline and Michelson
Micheline is the concrete syntax of Michelson.
https://tezos.gitlab.io/whitedoc/michelson.html
The concrete syntax means that it is the part of language in which Michelson is actually written and ...
2
votes
Why cant i call the contract entry point with type parameter througth eztz.contract.send
I fixed the problem just know, the thing here was that i didn't realize until i noticed how i was receiving the balance of the contract that i had to send the atomized value of the amount in tez.
So ...
2
votes
Is there a formula to build parameter messages to be passed to smart contract entrypoints?
If we could do a logic schematics for this specific case, do you sirs think it could be described like this? :
parameter (or (or (pair %addCustomer (pair (mutez %balance) (string %id)) (pair (string %...
1
vote
Accepted
Is there a formula to build parameter messages to be passed to smart contract entrypoints?
There are two ways to indicate which entrypoint you want to call:
call it by its name using the --entrypoint command-line argument of tezos-client transfer or the entrypoint optional parameter of the ...
1
vote
Is there a formula to build parameter messages to be passed to smart contract entrypoints?
You need to follow the path to the corresponding entry point in the Michelson parameter type. ‘Left’ when you go to the left branch of a ‘or’ and ‘Right’ for the right branch.
1
vote
Accepted
Pretty-printing Micheline JSON
With PyTezos it would be (don't mind the naming, it is wrong, will be fixed at some point):
>>> from pytezos.michelson.converter import micheline_to_michelson
>>> print(...
1
vote
Pretty-printing Micheline JSON
Edit: I realized that I misread the question and answered it for Michelson to Micheline when you wanted Micheline to Michelon. I do not know if there is a way to do that via the command line. ...
1
vote
Getting errors related to the smart contract after running eztz.contract.send()
This occured because the Michelson in the parameter was ill written and the fee was to low.
So these were the changes i made to the function ...
-Before:
eztz.contract
.send(
"...
1
vote
Accepted
how can i send operation throught eztz to a contract specific entry point?
Extracting an answer from the comments (kudos to @Klassare)
That the private key (keysext.sk) is passed as an argument when eztz expects a keys object (keys = {pkh: string, sk: string, pk: string}) ...
Ezy♦
- 6,006
1
vote
Differences between Micheline and Michelson
I have recently written a documentation page for Micheline that might help you better understand what it is: https://tezos.gitlab.io/whitedoc/micheline.html
Only top scored, non community-wiki answers of a minimum length are eligible