Questions tagged [michelson]

The tag has no usage guidance.

13 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
0 answers
74 views

Error too big to serialize within the provided gas bounds. Increasing the gas bounds does not help

I am developing a fairly large set of contracts that interact with each other. I wanted to reorganize and optimized the code and I've added lots of PUSH string "..."; FAILWITH to help me debug. I am ...
MCH's user avatar
  • 690
4 votes
1 answer
115 views

How to implement a signature checker for the signature scheme BLS?

We are willing to implement a signature checker for the signature scheme BLS (or BLS12-381). To the best of our knowledge, it may not be too painful since the smart contract language already supports ...
Önder Gürcan's user avatar
2 votes
3 answers
133 views

Originate contract with init

I have a contract of type: pair (pair (list nat) (pair mutez (map address (list nat)))) (pair address (pair address bool)) What is an example of a valid initial storage that can be passed to ...
candlez's user avatar
  • 49
1 vote
0 answers
24 views

Baked block hash information on smart-contracts

It seems the passed baked blocks hashes are not available on-chain in LIGOLang or Michelson. Why is that and will it come later ?
Mieus's user avatar
  • 121
1 vote
0 answers
8 views

Suggestion more then question about tezos course on plural sight

There is a good course about BlockChain fundamentals on Plural sight but addressing ethereum. It could be great if someone can create similar curse there with targeting tezos with
Kamran Shahid's user avatar
1 vote
0 answers
30 views

Can a Edo Sapling Smart Contract, Emit a FA2 token? with the message from the payload_enc?

Can Edo Sapling Smart Contract, implement some kind of logic to emit a FA2 NFT ticket with metadata coming from the sapling message ?
dolpsdw's user avatar
  • 11
1 vote
1 answer
107 views

how to encode contract invoke parameter to json code? ConseilJS not support parameter of tyep List Signature

ConseilJS seems not support parameter type List Signature, see at https://github.com/Cryptonomic/ConseilJS/issues/261. So I want to encode my parameter to JSON code that I can change parameterType ...
saiwaixiaowangzi's user avatar
1 vote
0 answers
20 views

Breadth-first inter-transaction semantics

In the « inter-transaction semantics » section of the Michelson specification it appears that when a contract emits internal operations (which in turn can emit their own) the overall evaluation ...
Ezy's user avatar
  • 6,064
1 vote
0 answers
38 views

Split function contract template

Is there a code template for a simple contract which splits the incoming funds and sends them proportionally to a list of pre-registered addresses? Example: Contract has the following functions: ...
XTZST2O's user avatar
  • 835
0 votes
0 answers
12 views

After compiling a jsligo contract, the resulting michelson contract has errors and cannot be deployed

After compiling a jsligo contract, the resulting michelson contract has errors and cannot be deployed. The error is "invalid primitive name". Has anyone ever gotten this error ? Do you know ...
user avatar
0 votes
0 answers
80 views

ListValidationError on interacting with contract using Taquito

I'm trying to interact with this entrypoint using taquito parameter pair token_assets list($token_assets_item) trigger_time timestamp token_assets_item pair amount nat asset_id string ...
tinuggunit's user avatar
0 votes
1 answer
95 views

Get entrypoint operation (get_entrypoint_opt) fails

I have some troubles to call a contract. This is the scenario: Contract B (Entrypoint method "transfer"): (pair %transfer (bytes %args1) (pair (string %args2) ...
Stiflers Mum's user avatar
0 votes
1 answer
99 views

Handling floating point numbers in decentralized exchanges

I am writing a contract in Ligo that manages FA2 fungible tokens with an interface that lets users easily create new tokens. I am building a very simple exchange where the users can create orders to ...
Claude Barde's user avatar