Questions tagged [fi]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
19 views

Fi update a set with 'get'

Struggling with Ligo so took a look at Fi. I want to create a provenancy smart contract i.e. add an artwork, then transfer ownership. The Fi compiler says Error: Error with variable ext - for variable ...
1
vote
1answer
13 views

What is the syntax to define a function which returns a value, in fi

The question is really that simple - I cannot find documentation for this! there are two things I want to do: One is to define a function and be able to use a value returned from that function in ...
0
votes
0answers
9 views

What is the syntax for passing values to a struct within a contract written in fi?

I have defined a type Poll using a struct. I would like to be able to instantiate it, preferably passing initial values to its variables when I do. eg I would imagine a syntax for what I want to do ...