Questions tagged [fa1.2]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
22 views

Best way to create FA1.2 token with TZIP016

What is the best way to implement a FA1.2 token with TZIP-016 metadata (symbol, name, decimals...)? I am using SmartPy. So far, I noted two methods: the first one is to implement a FA1.2 token with a ...
0
votes
1answer
28 views

How to attach data to an error

The FA1.2 standard specifies that the NotEnoughAllowance error should contain a nat: required, nat: present pair. How do I attach this kind of data to a failwith call? I am writing the token contract ...
3
votes
2answers
94 views

How to correctly implement an interface to an FA1.2 contract, from a programming language?

I am trying to implement a Java interface to be able to call FA1.2 smart contract entrypoints programmatically. This is what I've got now: public interface FA12 { public JSONObject transfer(String ...