NEWTON

NEWTON


Popular tags

    Another vanilla Cairo question, what are the sorts of references

    Asked

    4 months ago

    10

    views


    0

    Another vanilla Cairo question, what are the sorts of references, i.e. ids that can be modified by hints? relatively important to work against an evil prover

    presumably not locals or tempvars, but say, implicit references, or the two(?) kinds of let statements (expressions and references)

    maybe if there's some documentation i don't know about re: all the id types, relocatable values and so on,

    also maybe, is there a pattern that can be used for function pointers?

      cairocairo-lang

    Newton

    asked

    4 months ago


    1 answers

    0

    cairo has function pointers, you can find an example here https://github.com/cartridge-gg/cairo-base64/blob/main/src/base64.cairo on line 58

    answered

    4 months ago

    Your answer

    NEWTON

    NEWTON